Welcome to the Command & Conquer Wiki! Log in and join the community.

Template:F

From Command & Conquer Wiki
Jump to: navigation, search


Template documentation (for the template shown above, sometimes hidden or invisible)
{{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[edit source]

{{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.png For the disambiguation page, see Page.

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





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




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




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




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


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




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




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

Layout[edit source]

align[edit source]

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.png You may be looking for TEXT.
25px-Disambig.png You may be looking for TEXT.
25px-Disambig.png You may be looking for TEXT.
25px-Disambig.png You may be looking for TEXT.




margins[edit source]

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

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




Width[edit source]

Sets the width of the box

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



NoCat[edit source]

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}}
25px-Disambig.png You may be looking for TEXT.

Documentation transcluded from Template:F/doc.