Difference between revisions of "Template:HierB"
Tigersharke (Talk | contribs) m |
Tigersharke (Talk | contribs) m |
||
| Line 3: | Line 3: | ||
[[Category:Navigation]][[category:testing]] | [[Category:Navigation]][[category:testing]] | ||
== Usage == | == Usage == | ||
| − | This assumes local links, and reduces the typing needed when adding to or editing the Table of Contents. Below may be pasted into a page with minor modifications to define what will become each link and the text for each link's alternate label. Missing or malformed link info triggers a visual error image while properly formed but links to missing pages are added to the [[Special:WantedPages|''Special:wanted pages'']] list. Text ought to be formatted with desired capitalization. The numeric need only be added once but can be first or second. If a blank line for spacing between list items is desired, the template:hierB itself needs to be modified. Output of template:hierB <b>displays as bold</b> but is otherwise identical to template:hier.<br><br> | + | This assumes local links, and reduces the typing needed when adding to or editing the Table of Contents. Below may be pasted into a page with minor modifications to define what will become each link and the text for each link's alternate label. Missing or malformed link info triggers a visual error image while properly formed but links to missing pages are added to the [[Special:WantedPages|''Special:wanted pages'']] list. Text ought to be formatted with desired capitalization. The numeric need only be added once but can be first or second. If a blank line for spacing between list items is desired, the template:hierB itself needs to be modified. Output of template:hierB <b>displays as bold</b> and is not indented but is otherwise identical to ''template:hier''.<br><br> |
'''<nowiki>{{</nowiki>hierB|'''''<optional numeric>'''''|title='''''<name of the page to list>'''''|'''''<optional numeric>'''''}}''' | '''<nowiki>{{</nowiki>hierB|'''''<optional numeric>'''''|title='''''<name of the page to list>'''''|'''''<optional numeric>'''''}}''' | ||
</noinclude> | </noinclude> | ||
Revision as of 16:37, 29 December 2011
Usage
This assumes local links, and reduces the typing needed when adding to or editing the Table of Contents. Below may be pasted into a page with minor modifications to define what will become each link and the text for each link's alternate label. Missing or malformed link info triggers a visual error image while properly formed but links to missing pages are added to the Special:wanted pages list. Text ought to be formatted with desired capitalization. The numeric need only be added once but can be first or second. If a blank line for spacing between list items is desired, the template:hierB itself needs to be modified. Output of template:hierB displays as bold and is not indented but is otherwise identical to template:hier.
{{hierB|<optional numeric>|title=<name of the page to list>|<optional numeric>}}