Difference between revisions of "ModEnc:Templates"
m (Added FlagMoved) |
|||
Line 8: | Line 8: | ||
; [[Template:CatAllTypes]] : Categorization-template for flags which are available on all *Types | ; [[Template:CatAllTypes]] : Categorization-template for flags which are available on all *Types | ||
; [[Template:Categ]] : Categorization-template for [[Template:Flag|<nowiki>{{flag|files=}}</nowiki>]]-entries | ; [[Template:Categ]] : Categorization-template for [[Template:Flag|<nowiki>{{flag|files=}}</nowiki>]]-entries | ||
+ | ; [[Template:Cleanup]] : Cleanup-mark-template, to mark pages violating [[ModEnc:Styleguide|the Styleguide]] | ||
; [[Template:Co]] : Colorization-template for text, easier to use than <font> tags | ; [[Template:Co]] : Colorization-template for text, easier to use than <font> tags | ||
; [[Template:Disambig]] : Disambiguation template, for disambiguation pages <!--- duh --> | ; [[Template:Disambig]] : Disambiguation template, for disambiguation pages <!--- duh --> |
Revision as of 02:58, 9 May 2006
This is a list of Templates available on ModEnc. It will be updated everytime a new one is added. Usage of these templates is simple: Just put {{templatename}} somewhere in a page's text, and it gets replaced by the template. In some cases, you have to give a parameter.
If you have ideas for more templates, feel free to suggest them on the talk-page or code them yourself. But don't forget to update this list.
Click on a link to see information on how to include the template in question.
Contents
List
- Template:CatAllTypes
- Categorization-template for flags which are available on all *Types
- Template:Categ
- Categorization-template for {{flag|files=}}-entries
- Template:Cleanup
- Cleanup-mark-template, to mark pages violating the Styleguide
- Template:Co
- Colorization-template for text, easier to use than <font> tags
- Template:Disambig
- Disambiguation template, for disambiguation pages
- Template:Discussed
- Work in Progress template, for pages under discussion
- Template:Flag
- INI-Flag template, for all INI flag pages
- Template:FlagMoved
- Categorization-template for {{flag|files=}}-entries that have been moved between games
- Template:HorizontalBar
- Horizontal bar template, standard horizontal bar with custom text
- Template:Meanings
- Primary meaning template, for cases where disambiguation would be too much
- Template:ModBar
- Mod information bar template, information sidebar for mod-pages
- Template:NotVerified
- Not verified template, for pages whose information is unverified
- Template:Obsolete
- "Obsolete" template, for pages whose described feature is obsolete in either RA2, YR or both
- Template:RockPatch
- RockPatch pages template, the standard RockPatch header pointing to the main pages
- Template:RockPatchTagRef
- RockPatch tag reference template, for the RockPatch tag reference
- Template:SideBar
- Side bar template, creating a sidebar which includes another page as content
- Template:Sub
- Subscript-template, shortcut to writing subscript
- Template:Sup
- Superscript-template, shortcut to writing superscript
- Template:Wishlist/TOC
- Wishlist TOC template, the RockPatch Wishlist's table of contents
- Template:WrongTitle
- Wrong title template, for those pages whose name can't be saved correctly due to technical reasons
Template-Templates
These are the designs used for ModEnc's templates. If you want to create a new one, please base it on one of these.
Block
This design is used for blocks at the top, like RockPatch's. Include a width="" statement if necessary.
{| align="center" cellspacing="0" cellpadding="4" style="border-collapse: collapse; border: 1px dashed #000000;background:#F0F0F0;" !Headline here |- |Body here |}
Headline here |
---|
Body here |
Headline |
---|
Body |
Vertical Bar
This design is used for sidebars, like the mod-information bar.
{| align="right" width="20%" style="border-collapse: collapse; border: 1px dashed #000000; background:#F0F0F0; margin: 2.8em 0 0 3.2em; padding: 1em 1em 1.5em 1em ;" !Headline |- |Body |}
Horizontal Bar
This design is used for simple messages, like the disambiguation one.
{|width="100%" style="background:#F0F0F0;border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#000000;border-top-style:solid;border-top-width:1px;" |width="3%"| |'''''Some custom message.''''' |}
Some custom message. |
Further content
In addition to one of the above layouts, this should be included in templates:
<includeonly>[[Category:CategoryName]]</includeonly> <noinclude>Usage: <pre></pre> Copy-paste the code above and use as instructed.<br> Template includes Category:CategoryName automatically. </noinclude>
Use the <includeonly> block to include a category to which all pages including this template will be added, and the <noinclude> part to give a tutorial on how to use this template. Use the <pre> part to post a blank, copy-paste ready version of the template.
Look at already existing template-pages for examples.