ASDSO Dam Safety Toolbox

Guidelines for Using Templates: Difference between revisions

From ASDSO Dam Safety Toolbox
Jump to: navigation, search
No edit summary
No edit summary
Tag: Reverted
Line 3: Line 3:
----
----
Templates are standard wiki pages or code whose content is designed to be embedded inside other pages. Typically, templates are employed by typing the template name enclosed in double curly brackets (also referred to as braces). Multiple templates have been created that are specific to the Dam Safety Toolbox. These include:
Templates are standard wiki pages or code whose content is designed to be embedded inside other pages. Typically, templates are employed by typing the template name enclosed in double curly brackets (also referred to as braces). Multiple templates have been created that are specific to the Dam Safety Toolbox. These include:
* '''Revision History Information (revhistinf)''': This should be included at the bottom of every page on the website. It will note pertinent revision history information including the date of last revision.
* '''Revision History Information <nowiki>{{revhistinf}}</nowiki>''': This should be included at the bottom of every page on the website. It will note pertinent revision history information including the date of last revision.
* '''Citations''': This should also be included at the bottom of every page on the website when in-text citations are used. Learn more [[Guidelines for Inserting a Citation|here]].
* '''Citations''': This should also be included at the bottom of every page on the website when in-text citations are used. Learn more [[Guidelines for Inserting a Citation|here]].
* '''Best Practices Resource / References Template''': This template facilitates the consistent addition of best practices resources pages. Learn more [[Guidelines for Creating a Best Practices Resource Page|here]].
* '''Best Practices Resource / References Template''': This template facilitates the consistent addition of best practices resources pages. Learn more [[Guidelines for Creating a Best Practices Resource Page|here]].

Revision as of 23:03, 23 December 2022


Templates are standard wiki pages or code whose content is designed to be embedded inside other pages. Typically, templates are employed by typing the template name enclosed in double curly brackets (also referred to as braces). Multiple templates have been created that are specific to the Dam Safety Toolbox. These include:

  • Revision History Information {{revhistinf}}: This should be included at the bottom of every page on the website. It will note pertinent revision history information including the date of last revision.
  • Citations: This should also be included at the bottom of every page on the website when in-text citations are used. Learn more here.
  • Best Practices Resource / References Template: This template facilitates the consistent addition of best practices resources pages. Learn more here.
  • Training Template: This template facilitates the consistent addition of training pages. Learn more here.
  • Website Icon: This should be included in lieu of a bullet or number whenever linking to another website. This helps the user recognize that the hyperlink next to this icon will direct them to another website.
  • Document Icon: This should be included in lieu of a bullet or number whenever linking to document. This helps the user recognize that the hyperlink next to this icon will direct them to a best practices resource page where a document can be directly downloaded.
  • Video Icon: This should be included in lieu of a bullet or number whenever linking to a video. This helps the user recognize that the hyperlink next to this icon will direct them to YouTube or another video streaming platform.
  • Picture Template: This templates facilitates consistency in formatting and sizing of photos on topic pages.
Type Code Displays As
Revision History Information {{revhistinf}}

Revision ID: 6417
Revision Date: 12/23/2022

Website Icon {{Website Icon}}

Document Icon {{Document Icon}}

Video Icon {{Video Icon}}

Picture {{Picture |image=LAB2.JPG |link=https://damsafety.org/ |caption=This is a labyrinth weir. }}
This is a labyrinth weir.


Links to Helpful MediaWiki Resources

Templates Help Page


Revision ID: 6417
Revision Date: 12/23/2022