Formatting Templates

From Salish Sea Wiki

Also see Content Templates and Style Guide

Like all MediaWiki installations, This platform uses templates to create standard formatting effects. A template is a specific kind of Wiki Markup where a single code is used to represent a bunch of formatting or text. When the wiki renders a page, and runs into a {{Example}} it replaces that code with the text found on the page [[Template:Example]]. Some Templates are used in isolation to define a page type. In other cases, a template can be customized so that a text block (such as a category or column content) is passed into the template to create unique effects. By having these functions in templates, we can adjust a template, and the style or layout is adjusted over the entire platform. The following templates are in common use throughout the platform.

  • {{Workgroup}} - for pages about groups of people that work together.
  • {{Effort}} - for pages describing the projects they do.
  • {{Product}} - for pages describing documents, graphics or websites.
  • {{Place}} - for pages describing specific geographies.
  • {{Topic}} - for pages about anthropogenic or ecological concepts or phenomena.

We also have templates for core pages of the wiki infrastructure:

  • {{Category}} - for pages about anthropogenic or ecological concepts or phenomena.
  • {{Content Page}} - for topic pages that are associated with a topic category.
  • {{Introduction}} - for pages that describe the purpose of the wiki or provide directions for users.
  • {{Technical}} - for pages that support technical management issues for admins or bureaucrats.

We also have a set of templates specifically for Landform Scale Places:

  • {{headwatersite}} - a watershed management unit in the highland portions of Puget Sound.
  • {{watershedsite}} - a watershed management unit tributary to a floodplain, or a coastal shoreline or inlet process unit watershed.
  • {{floodplainsite}} - a floodplain unit with divisions generally based on local planning.
  • {{deltasite}} - a delta process unit assocaited with a major river mouth
  • {{embaymentsite}} - a coastal inlet or barrier-type embayment along the shoreline
  • {{beachsite}} - a shoreline process unit including bluff-backed beach
  • {{headlandsite}} - a shoreline process unit dominated by rocky shoreline landforms

The following templates are used to create effects on page content. The numbers sign indicates where you would insert content

  • {{ImageBullet| # | # }} - the first insertion is a link for the image to be used as an icon. The second entry is for the text that will be placed immediately to the right of that icon.
  • {{TwoColumn| # | # }} - each entry is used to populate one of the columns. The columns are responsive, so that if you view them on a phone, they will stack.
  • {{ThreeColumn| # | # | # }} - each entry is used to populate one of the columns. The columns are responsive, so that if you view them on a phone, they will stack.
  • {{TwoColumnTwoPicture| # | # }} - for each entry, provide a link to an image. The images will scale so that they fill the available space. If they are viewed on a phone they will stack.
  • {{TwoColumnLeftPicture| # | # }} - In this layout the first entry is an image. The second entry is for text that

For example the following code:

{{ImageBullet|[[File:Riverdelta.jpg|50px]]|This is text that uses a picture of a particular size as a bullet.}}

Will create the following output:

Riverdelta.jpg

This is text that uses a picture of a particular size as a bullet.