Template:Directionbox/doc
From MafiaWiki
For use on template documentation pages. Adds header and category.
Based on {{directionbox}}.
Usage
Place the following at the top of the documentation page:
<noinclude>{{Documentationpage}}</noinclude>
Parameters
(default: "First part of {{PAGENAME}}")
{{#replace:{{#replace:{{#replace:{{#replace:<unnamed 1> // page|| }}| >> | up to }}| // | or }}| ++ |, }}Name of the page the documentation page belongs to.
(default: "default")
{{#replace:{{#replace:{{#replace:{{#replace:type|| }}| >> | up to }}| // | or }}| ++ |, }}Allows to specify the type of documentation page and alters display text accordingly.
Available options:
- default: This page is a normal documentation page.
- standard: This page is a standard documentation page for all templates based on a specific meta template.
Meta-template for constructing small navigation notices.
Usage
{{directionbox |text =Example text. }}
Parameters
{{#replace:{{#replace:{{#replace:{{#replace:<unnamed 1> // text|| }}| >> | up to }}| // | or }}| ++ |, }}
The text you want the notice to display.
(default: "Icon disambig.svg")
{{#replace:{{#replace:{{#replace:{{#replace:image|| }}| >> | up to }}| // | or }}| ++ |, }}Name of image to be displayed (without "File:" prefix).
Copy/paste
{{directionbox |image = |text = }}
Example
{{directionbox |text =For another use of this term, visit this page: Other page. }}
results in:
For another use of this term, visit this page: Other page. |