Content Templates

From Salish Sea Wiki

Also see Formatting Templates or Dynamic Page Lists or the Style Guide

Content Templates are used to rapidly list page types associated with one or more Categories. This is particularly useful for overview pages. For example, in the page River Delta Restoration you may want to end the page with a list of all other pages that use Category:River Delta and Category:Restoration. You can do this quickly and efficiency with Content Templates.

Graphical Content

  • {{PageTypes| {{{1}}} }} - Template:PageTypes generates a set of 5 mobile sensitive page type icons with linked names in small font below. The variable defines the size in pixels. See The Big Picture or Page Types.
  • {{Warning| text message }} - generates a text message in a orange box with a warning sign.

High Level Page Summary

  • {{ArchitectureContentPages1Cat| {{{1}}} }} - Template:ArchitectureContentPages1Cat generates a bullted list of all pages in the categories Architecture Page or Content Page within a category.

Workgroup Templates

Workgroups-Effort Templates

These templates provide the workgroups and efforts associated with one or more categories, in two columns. This is typically used for places.

  • {{WorkgroupsEfforts1Cat| {{{1}}} }} - Template:WorkgroupsEfforts1Cat
  • {{WorkgroupsEfforts2Cat| {{{1}}} | {{{2}}} }} - Template:WorkgroupsEfforts2Cat
  • {{WorkgroupsEfforts3Cat| {{{1}}} | {{{2}}} | {{{3}}} }} - Template:WorkgroupsEfforts3Cat
  • DEPRICATE{{WorkgroupEffortByTopic|"place"}} - Generates a two column list of all workgroups and efforts associated with a specific category.
  • {{EffortArchitectureFooter| {{{1}}} }} presents a 2-level deep search for workgroups and efforts by region for a single category, designed for the Effort page architecture.

Effort Templates

  • {{EffortsByRegion1Cat| {{{1}}} }} - Template:EffortsByRegion1Cat is part of the EffortArchitectureFooter
  • {{Efforts1CatInline| {{{1}}} }} - a more condensed summary of efforts fitting one category
  • {{EffortArchitecture}} - generates an bulleted outline view of effort categories with links to architecture pages.

Effort-Product Templates

Effort templates provide information about "stuff going on" using different

  • {{EffortsProductsByLandform | {{{1}}} }} - produces a list of Efforts and Products sorted by Landform (Template:EffortsProductsByLandform)
  • {{EffortsProducts1Cat| {{{1}}} }} - Template:EffortsProducts1Cat generates a two column list of all workgroups and efforts associated with one category, usually a workgroup acronym.
  • {{EffortsProducts2Cat| {{{1}}} | {{{2}}} }} - Template:EffortsProducts2Cat generates a two column list of all workgroups and efforts associated with one category, usually a workgroup acronym.
  • {{EffortsProducts3Cat| {{{1}}} | {{{2}}} | {{{3}}} }} - Template:EffortsProducts3Cat generates a two column list of all workgroups and efforts associated with one category, usually a workgroup acronym.

Product Templates

Product templates list three product subtypes in a two-column format. In each case, replace the variable with the category text.

  • {{Products1Cat| {{{1}}} }}
  • {{Products2Cat| {{{1}}} | {{{2}}} }}
  • {{Products3Cat| {{{1}}} | {{{2}}} | {{{3}}} }}

Place Page Templates

Place templates provide lists of smaller Scale places that are associated with a place category, typically a Region or Catchment. This uses the DPL feature that also searches in sub-categories of a given place, set for two-layers deep.

  • {{PlacesInRegion| {{{1}}} }} - lists catchments, landforms and sites in three columns
  • {{PlacesInCatchment| {{{1}}} }} - lists landforms and sites in two columns
  • {{PagesByLandform| {{{1}}} }} - Template:PagesByLandform provides a list of all pages in a particular category organized by landform
  • {{PagesForRegion|"place"}} - Generates a three column summary of workgroups, places, and Other Pages provided with a Category.
  • {{RegionFooter| {{{1}}} }} - Presents PlacesInRegion, WorkgroupsEfforts, and Products together using one category; designed for use in the footer of Regions.

Product Templates

  • {{ProductsForPlace|{{{1}}}}} - Inserts a products associated with a place name (#).

Topic Page Templates

Product templates produce a single in-line list of all topic pages the include the specified categories (and two levels of sub-categories).

Topic-Effort Templates

  • {{TopicsEfforts1Cat| {{{1}}} }} - Template:TopicsEfforts1Cat produces an inline summary of topics and efforts
  • {{TopicsEfforts2Cat| {{{1}}} | {{{2}}} }} - an inline summary
  • {{TopicsEfforts3Cat| {{{1}}} | {{{2}}} | {{{3}}} }} - an inline summary

Other Templates

  • {{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1 |columns=1}} - This code creates a list of sub-pages when embedded on a page.