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">&lt; {{{1}}} {{#if:{{{2|}}}|&lt; {{{2|}}}|&lt; '''{{PAGENAME}}'''}} {{#ifeq:{{{3|}}}|{{{2|}}}||{{#if:{{{3|}}}|&lt; {{{3|}}}}} &lt; '''{{PAGENAME}}'''}}</span></div></includeonly><noinclude>
 
<includeonly><div id="contentSub2" style="margin-top:-1.2em;"><span class="subpages">&lt; {{{1}}} {{#if:{{{2|}}}|&lt; {{{2|}}}|&lt; '''{{PAGENAME}}'''}} {{#ifeq:{{{3|}}}|{{{2|}}}||{{#if:{{{3|}}}|&lt; {{{3|}}}}} &lt; '''{{PAGENAME}}'''}}</span></div></includeonly><noinclude>
=== Sinn ===
+
=== Sense ===
Diese Vorlage erzeugt unter der Überschrift einer Seite einen Verweis, wie er ansonst nur auf Unterseiten (z. B. [[Wikipedia:Löschkandidaten/Bilder|Löschkandidaten/Bilder]]) vorkommt.
+
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]]).
  
=== Benutzung ===
+
=== Usage ===
 
'''Standard'''
 
'''Standard'''
 
: <tt><nowiki>{{Subpage|[[Name|Name]]}}</nowiki></tt>
 
: <tt><nowiki>{{Subpage|[[Name|Name]]}}</nowiki></tt>
  
 
'''Optional'''
 
'''Optional'''
: <tt><nowiki>{{Subpage|[[Seitenname|Seitenname]]</nowiki>''|Optional1|Optional2''<nowiki>}}</nowiki></tt>
+
: <tt><nowiki>{{Subpage|[[Pagename|Pagename]]</nowiki>''|Optional1|Optional2''<nowiki>}}</nowiki></tt>
: Optional können insgesamt bis zu drei Parameter angegeben werden.
+
: You may give up to three parameters (optional).
  
[[Category:Vorlagen|{{PAGENAME}}]]
+
[[Category:Templates|{{PAGENAME}}]]
[[Category:Vorlagen/Navigationshilfen|{{PAGENAME}}]]
+
[[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).