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
Line 25: Line 25:
|-  
|-  
| Picture || <nowiki>{{Picture
| Picture || <nowiki>{{Picture
|image=
|image=LAB2.JPG
|link=
|link=https://damsafety.org/
|caption=
|caption=This is a labyrinth weir.
}}</nowiki>  || {{Video Icon}}
}}</nowiki>  || {{Picture
|image=LAB2.JPG
|link=https://damsafety.org/
|caption=This is a labyrinth weir.
}}
|}
|}



Revision as of 23:46, 22 December 2022

Internal Hyperlinks

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.
  • 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: 6274
Revision Date: 12/22/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: 6274
Revision Date: 12/22/2022