MediaWiki:StyleGuide
Style Guide
This page will show you how to use the various different extensions installed in WargameChess
Breadcrumbs:
Just add a {{#breadcrumb: }} tag anywhere in your page to set its parent and its (the current page's) alias.
{{#breadcrumb: Parent_Page | Alias}}
The alias will replace the page's name in the breadcrumb trails for all descendant pages, in addition to the current page. The page at the top of the hierarchy (i.e., the page that has no parent) may still be given an alias, which will show up in all the descendants' breadcrumb trails. The top page will not display a breadcrumb.
The tag can be used in templates and accepts magic words.
{{#breadcrumb: Category:Releases {{{product}}} | {{SUBPAGENAME}} }}
You should not add more than one breadcrumb tag in each page. In experimentation, if there are two breadcrumb tags, the second one is the one that is effective, but this behavior is not tested.
Tooltips:
There is a short alias and a more descriptive parser function name for each tooltip type.
Inline-text tooltip:
{{#tip-text: text | tooltip-text}} {{#simple-tooltip: text | tooltip-text}}
Info-icon tooltip:
{{#tip-info: tooltip-text }} {{#simple-tooltip-info: tooltip-text }}
Inline-Image tooltip:
{{#tip-img: /path/to/your/image.png | image tooltip-text }} {{#simple-tooltip-img: /path/to/your/image.png | image tooltip-text }}

Top of Page Link
All that's needed is to add [[#top|Return to top]] somewhere on the page.
Youtube
To embed a YouTube video:
<youtube>VideoId</youtube>
where foo is the video ID from the URL. i.e. if the video's URL is https://www.youtube.com/watch?v=dQw4w9WgXcQ, then the embed code would be: <youtube>dQw4w9WgXcQ</youtube>
Setting width and height
Example:
<youtube width="200" height="120">dQw4w9WgXcQ</youtube>
You can change the width and height of the video box
Width is controlled with width="xxx", where xxx is the number of pixels. The default is 640 pixels.
Height is controlled in the same way with height="xxx". The default is 385 pixels.