Difference between revisions of "Template:Navigation General"
From EUO Manual
(Res sickness added to navbar) |
m (innercollapse tag added to template) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<!-- Main Table --> | <!-- Main Table --> | ||
<!-- --> | <!-- --> | ||
− | {| style="margin:auto; width:{{{1|70}}}%; background:#000022; min-width:360px; border:1px solid #000000; font-weight:bold; text-align:center; padding:0;" class="toccolours mw-collapsible" | + | {| style="margin:auto; width:{{{1|70}}}%; background:#000022; min-width:360px; border:1px solid #000000; font-weight:bold; text-align:center; padding:0;" class="toccolours mw-collapsible innercollapse" |
|- | |- | ||
| style="width:10%; text-align:left; font-style: italic;" | [[Main Page|<span style="color:#FFFFFF;">{{{2|Main Page}}}</span>]] | | style="width:10%; text-align:left; font-style: italic;" | [[Main Page|<span style="color:#FFFFFF;">{{{2|Main Page}}}</span>]] | ||
Line 47: | Line 47: | ||
<code>'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code> | <code>'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code> | ||
− | To specify a width of 82% (Default = 70%) of the page for the box, write: | + | * Parameter 1: To specify a width of 82% (Default = 70%) of the page for the box, write: <code>'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|82}}</nowiki></code> |
− | <code>'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|82}}</nowiki></code> | + | |
− | To remove the 'Main Page' Tag in the top left, | + | * Parameter 2: To remove the 'Main Page' Tag in the top left, leave the second parameter blank: <code>'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|70|}}</nowiki></code> |
− | <code>'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|70|}}</nowiki></code> | + | |
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 09:54, 22 October 2023
Main Page | General Information | ||||||||||||||||||||||||||||||||
|
About
Use this in the footer of every general page by inserting this code:
{{Navigation General}}
- Parameter 1: To specify a width of 82% (Default = 70%) of the page for the box, write:
{{Navigation General|82}}
- Parameter 2: To remove the 'Main Page' Tag in the top left, leave the second parameter blank:
{{Navigation General|70|}}