FANDOM


Line 9: Line 9:
 
{{-}}
 
{{-}}
 
== Examples ==
 
== Examples ==
 
 
<nowiki>{{F}}</nowiki>
 
<nowiki>{{F}}</nowiki>
 
'''NB:''' ''Assuming this template is placed in a page called "Page (Disambiguated)" and there exists a page called "Page" we get this:''
 
'''NB:''' ''Assuming this template is placed in a page called "Page (Disambiguated)" and there exists a page called "Page" we get this:''
Line 18: Line 17:
 
{{F}}
 
{{F}}
   
{{H}}
+
{{=}}{{H}}{{=}}
   
 
<nowiki>{{F|TEXT}}</nowiki>
 
<nowiki>{{F|TEXT}}</nowiki>
 
{{F|TEXT}}
 
{{F|TEXT}}
   
{{H}}
+
{{=}}{{H}}{{=}}
   
 
<nowiki>{{F|this=this stuff|TEXT}}</nowiki>
 
<nowiki>{{F|this=this stuff|TEXT}}</nowiki>
 
{{F|this=this stuff|TEXT}}
 
{{F|this=this stuff|TEXT}}
   
{{H}}
+
{{=}}{{H}}{{=}}
   
 
<nowiki>{{F|THAT|THIS}}</nowiki>
 
<nowiki>{{F|THAT|THIS}}</nowiki>
 
{{F|THAT|THIS}}
 
{{F|THAT|THIS}}
   
{{H}}
+
{{=}}{{H}}{{=}}
   
 
<nowiki>{{F|this=this stuff|THAT|THIS}}</nowiki>
 
<nowiki>{{F|this=this stuff|THAT|THIS}}</nowiki>
 
{{F|this=this stuff|THAT|THIS}}
 
{{F|this=this stuff|THAT|THIS}}
   
{{H}}
+
{{=}}{{H}}{{=}}
   
 
<nowiki>{{F|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki>
 
<nowiki>{{F|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki>
 
{{F|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
 
{{F|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
   
{{H}}
+
{{=}}{{H}}{{=}}
   
 
<nowiki>{{F|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki>
 
<nowiki>{{F|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki>
 
{{F|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
 
{{F|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
   
{{H}}
+
{{=}}{{H}}{{=}}
   
 
<nowiki>{{F|intro=intro here|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki>
 
<nowiki>{{F|intro=intro here|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki>
Line 64: Line 63:
 
{{F|TEXT|align=left}}{{F|TEXT|align=center}}{{F|TEXT|align=right}}{{F|TEXT|align=anything else defaults to left}}
 
{{F|TEXT|align=left}}{{F|TEXT|align=center}}{{F|TEXT|align=right}}{{F|TEXT|align=anything else defaults to left}}
   
{{H}}
+
{{=}}{{H}}{{=}}
 
=== margins ===
 
=== margins ===
 
Sets margins. NOTE: if this is used then the ''align'' parameter is ignored
 
Sets margins. NOTE: if this is used then the ''align'' parameter is ignored
Line 71: Line 70:
 
{{F|TEXT|margins=1em 0 1em 50px}}
 
{{F|TEXT|margins=1em 0 1em 50px}}
   
{{H}}
+
{{=}}{{H}}{{=}}
 
=== Width ===
 
=== Width ===
 
Sets the width of the box
 
Sets the width of the box
Line 77: Line 76:
 
{{F|TEXT|width=100%}}
 
{{F|TEXT|width=100%}}
   
{{H}}
+
{{=}}{{H}}{{=}}
 
== NoCat ==
 
== NoCat ==
 
Use this to prevent the categories from being transcluded.
 
Use this to prevent the categories from being transcluded.

Revision as of 19:56, May 29, 2014

{{F|first alternative|page name|second alternative|second page name|third alternative|third page name}}

Optional:
|intro = Appears at the start.
|this = This article is about ...
|NoCat = set this to anything to disable categories

Examples

{{F}}

NB: Assuming this template is placed in a page called "Page (Disambiguated)" and there exists a page called "Page" we get this:

25px-Disambig For the disambiguation page, see Page.

This only works on disambiguated pages. Otherwise it will not appear at all:





{{F|TEXT}}
25px-Disambig You may be looking for TEXT.



{{F|this=this stuff|TEXT}}
25px-Disambig This article is about this stuff. You may be looking for TEXT.



{{F|THAT|THIS}}
25px-Disambig For THAT, see THIS.



{{F|this=this stuff|THAT|THIS}}
25px-Disambig This article is about this stuff. For THAT, see THIS.



{{F|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
25px-Disambig



{{F|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
25px-Disambig This article is about this stuff.



{{F|intro=intro here|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
25px-Disambig intro here. This article is about this stuff.

Layout

align

Sets the alignment of the box.

{{F|TEXT|align=left}}
{{F|TEXT|align=center}}
{{F|TEXT|align=right}}
{{F|TEXT|align=anything else defaults to left}}


25px-Disambig You may be looking for TEXT.
25px-Disambig You may be looking for TEXT.
25px-Disambig You may be looking for TEXT.
25px-Disambig You may be looking for TEXT.



margins

Sets margins. NOTE: if this is used then the align parameter is ignored

{{F|TEXT|margins=1em 0 1em 50px}}
25px-Disambig You may be looking for TEXT.



Width

Sets the width of the box

{{F|TEXT|width=100%}}
25px-Disambig You may be looking for TEXT.



NoCat

Use this to prevent the categories from being transcluded.

{{F|TEXT|NoCat=1}}
25px-Disambig You may be looking for TEXT.
Community content is available under CC-BY-SA unless otherwise noted.