Difference between revisions of "Template:Subpage"
[unchecked revision] | [unchecked revision] |
Line 1: | Line 1: | ||
<includeonly><div id="contentSub2" style="margin-top:-1.2em;"><span class="subpages">< {{{1}}} {{#if:{{{2|}}}|< {{{2|}}}|< '''{{PAGENAME}}'''}} {{#ifeq:{{{3|}}}|{{{2|}}}||{{#if:{{{3|}}}|< {{{3|}}}}} < '''{{PAGENAME}}'''}}</span></div></includeonly><noinclude> | <includeonly><div id="contentSub2" style="margin-top:-1.2em;"><span class="subpages">< {{{1}}} {{#if:{{{2|}}}|< {{{2|}}}|< '''{{PAGENAME}}'''}} {{#ifeq:{{{3|}}}|{{{2|}}}||{{#if:{{{3|}}}|< {{{3|}}}}} < '''{{PAGENAME}}'''}}</span></div></includeonly><noinclude> | ||
− | === | + | === Sense === |
− | + | This template generates under the heading of a specific page a reference, like it exists normally on subpages (e.g. [[Wikipedia:DeletedUsers/Pictures|DeletedUsers/Pictures]]). | |
− | === | + | === Usage === |
'''Standard''' | '''Standard''' | ||
: <tt><nowiki>{{Subpage|[[Name|Name]]}}</nowiki></tt> | : <tt><nowiki>{{Subpage|[[Name|Name]]}}</nowiki></tt> | ||
'''Optional''' | '''Optional''' | ||
− | : <tt><nowiki>{{Subpage|[[ | + | : <tt><nowiki>{{Subpage|[[Pagename|Pagename]]</nowiki>''|Optional1|Optional2''<nowiki>}}</nowiki></tt> |
− | : | + | : You may give up to three parameters (optional). |
− | [[Category: | + | [[Category:Templates|{{PAGENAME}}]] |
− | [[Category: | + | [[Category:Templates/Navigationhelp|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Revision as of 18:50, 30 April 2009
Sense
This template generates under the heading of a specific page a reference, like it exists normally on subpages (e.g. DeletedUsers/Pictures).
Usage
Standard
- {{Subpage|[[Name|Name]]}}
Optional
- {{Subpage|[[Pagename|Pagename]]|Optional1|Optional2}}
- You may give up to three parameters (optional).