No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
+ | <pre>{{F|first alternative|page name|second alternative|second page name|third alternative|third page name}} |
||
− | {{Tiberian Dawn Missions|NoCat=1}} |
||
+ | Optional: |
||
− | [[Category:Tiberian Dawn]] |
||
+ | |intro = Appears at the start. |
||
− | [[Category:Missions]] |
||
+ | |this = This article is about ... |
||
+ | |NoCat = set this to anything to disable categories |
||
+ | </pre> |
||
+ | |||
+ | {{-}} |
||
+ | == Examples == |
||
+ | <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:'' |
||
+ | {{F|the disambiguation page|Page}} |
||
+ | |||
+ | This only works on disambiguated pages. Otherwise it will not appear at all: |
||
+ | |||
+ | {{F}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | |||
+ | <nowiki>{{F|TEXT}}</nowiki> |
||
+ | {{F|TEXT}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | |||
+ | <nowiki>{{F|this=this stuff|TEXT}}</nowiki> |
||
+ | {{F|this=this stuff|TEXT}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | |||
+ | <nowiki>{{F|THAT|THIS}}</nowiki> |
||
+ | {{F|THAT|THIS}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | |||
+ | <nowiki>{{F|this=this stuff|THAT|THIS}}</nowiki> |
||
+ | {{F|this=this stuff|THAT|THIS}} |
||
+ | |||
+ | {{=}}{{H}}{{=}} |
||
+ | |||
+ | <nowiki>{{F|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki> |
||
+ | {{F|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | |||
+ | <nowiki>{{F|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki> |
||
+ | {{F|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | |||
+ | <nowiki>{{F|intro=intro here|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}</nowiki> |
||
+ | {{F|intro=intro here|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}} |
||
+ | |||
+ | {{H}} |
||
+ | == Layout == |
||
+ | === align === |
||
+ | Sets the alignment of the box. |
||
+ | <nowiki>{{F|TEXT|align=left}}</nowiki> |
||
+ | <nowiki>{{F|TEXT|align=center}}</nowiki> |
||
+ | <nowiki>{{F|TEXT|align=right}}</nowiki> |
||
+ | <nowiki>{{F|TEXT|align=anything else defaults to left}}</nowiki> |
||
+ | |||
+ | {{F|TEXT|align=left}}{{F|TEXT|align=center}}{{F|TEXT|align=right}}{{F|TEXT|align=anything else defaults to left}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | |||
+ | === margins === |
||
+ | Sets margins. NOTE: if this is used then the ''align'' parameter is ignored |
||
+ | |||
+ | <nowiki>{{F|TEXT|margins=1em 0 1em 50px}}</nowiki> |
||
+ | {{F|TEXT|margins=1em 0 1em 50px}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | |||
+ | === Width === |
||
+ | Sets the width of the box |
||
+ | <nowiki>{{F|TEXT|width=100%}}</nowiki> |
||
+ | {{F|TEXT|width=100%}} |
||
+ | |||
+ | <nowiki>{{F|TEXT|width=75%}}</nowiki> |
||
+ | {{F|TEXT|width=75%}} |
||
+ | |||
+ | <nowiki>{{F|TEXT|width=50%}}</nowiki> |
||
+ | {{F|TEXT|width=50%}} |
||
+ | |||
+ | <nowiki>{{F|TEXT|width=300px}}</nowiki> |
||
+ | {{F|TEXT|width=300px}} |
||
+ | |||
+ | |||
+ | {{H}} |
||
+ | |||
+ | == NoCat == |
||
+ | Adding this template to a page automatically transcludes the [[:Category:Similarly named pages|similarly named pages]] category causing this page to be added to that category. |
||
+ | |||
+ | Use NoCat to prevent categories from being transcluded. |
||
+ | <nowiki>{{F|TEXT|NoCat=1}}</nowiki> |
||
+ | {{F|TEXT|NoCat=1}} |
Latest revision as of 19:27, 20 March 2020
{{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:
For the disambiguation page, see Page. |
This only works on disambiguated pages. Otherwise it will not appear at all:
{{F|TEXT}}
You may be looking for TEXT. |
{{F|this=this stuff|TEXT}}
This article is about this stuff. You may be looking for TEXT. |
{{F|THAT|THIS}}
For THAT, see THIS. |
{{F|this=this stuff|THAT|THIS}}
This article is about this stuff. For THAT, see THIS. |
{{F|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
|
{{F|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
This article is about this stuff.
|
{{F|intro=intro here|this=this stuff|THAT1|THIS1|THAT2|THIS2|THAT3|THIS3}}
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}}
You may be looking for TEXT. |
You may be looking for TEXT. |
You may be looking for TEXT. |
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}}
You may be looking for TEXT. |
Width
Sets the width of the box
{{F|TEXT|width=100%}}
You may be looking for TEXT. |
{{F|TEXT|width=75%}}
You may be looking for TEXT. |
{{F|TEXT|width=50%}}
You may be looking for TEXT. |
{{F|TEXT|width=300px}}
You may be looking for TEXT. |
NoCat
Adding this template to a page automatically transcludes the similarly named pages category causing this page to be added to that category.
Use NoCat to prevent categories from being transcluded.
{{F|TEXT|NoCat=1}}
You may be looking for TEXT. |
Subcategories
This category has the following 8 subcategories, out of 8 total.
C
L
P
- Tiberian Dawn mission panoramas (62 F)
T
- Tiberian Dawn console missions (10 P)
- Tiberian Dawn demo missions (3 P)