ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "ModEnc:Templates"

From ModEnc
Jump to: navigation, search
(with the addition of another three, more order was necessary)
Line 6: Line 6:
  
 
==List==
 
==List==
; [[Template:BigHorizontalBar]] : Horizontal bar template, big horizontal bar with custom text
+
===Messages and Marks===
; [[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:Cleanup]] : Cleanup-mark-template, to mark pages violating [[ModEnc:Styleguide|the Styleguide]]
 
; [[Template:Cleanup]] : Cleanup-mark-template, to mark pages violating [[ModEnc:Styleguide|the Styleguide]]
; [[Template:Co]] : Colorization-template for text, easier to use than &lt;font&gt; tags
 
 
; [[Template:Disambig]] : Disambiguation template, for disambiguation pages <!--- duh -->
 
; [[Template:Disambig]] : Disambiguation template, for disambiguation pages <!--- duh -->
 
; [[Template:Discussed]] : Work in Progress template, for pages under discussion
 
; [[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 [[Template:Flag|<nowiki>{{flag|files=}}</nowiki>]]-entries that have been moved between games
 
 
; [[Template:Highlighted]] : Highlighted page template, to mark pages of exceptional quality
 
; [[Template:Highlighted]] : Highlighted page template, to mark pages of exceptional quality
; [[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:Meanings]] : Primary meaning template, for cases where disambiguation would be too much
; [[Template:ModBar]] : Mod information bar template, information sidebar for mod-pages
+
; [[Template:NeedTesting]] : Used to indicate articles containing unverified information
; [[Template:N]] : Minitemplate used to indicate "no" on functionality tables, checklists and the like
 
; [[Template:NeedTesting]] : Used to indicate articles containing unverified information <!-- uses a custom horizontal bar template -->
 
 
; [[Template:NotVerified]] : Not verified template, for pages whose information is unverified
 
; [[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:Obsolete]] : "Obsolete" template, for pages whose described feature is obsolete in either RA2, YR or both
; [[Template:Q]] : Minitemplate used to indicate "unknown/untested" on functionality tables, checklists and the like
+
; [[Template:WrongTitle]] : Wrong title template, for those pages whose name can't be saved correctly due to technical reasons
; [[Template:Quote]] : Quote-template, to unify quotation markups
+
 
 +
===Bars and Boxes===
 +
; [[Template:BigHorizontalBar]] : Horizontal bar template, big horizontal bar with custom text
 +
; [[Template:HorizontalBar]] : Horizontal bar template, standard horizontal bar with custom text
 +
; [[Template:ModBar]] : Mod information bar template, information sidebar for mod-pages
 
; [[Template:RedHorizontalBar]] : Warning red horizontal bar, like <nowiki>{{Obsolete}}</nowiki>, but text defined by a parameter
 
; [[Template:RedHorizontalBar]] : Warning red horizontal bar, like <nowiki>{{Obsolete}}</nowiki>, but text defined by a parameter
; [[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 <!-- it's sad that people need sentences like these -->
 
 
; [[Template:SideBar]] : Side bar template, creating a sidebar which includes another page as content
 
; [[Template:SideBar]] : Side bar template, creating a sidebar which includes another page as content
 +
 +
===Formatting===
 +
; [[Template:Co]] : Colorization-template for text, easier to use than &lt;font&gt; tags
 +
; [[Template:Sc]] : Small caps-template, shortcut to writing text in small caps
 +
; [[Template:Strike]] : Strike out-template, shortcut to striking out text
 
; [[Template:Sub]] : Subscript-template, shortcut to writing subscript
 
; [[Template:Sub]] : Subscript-template, shortcut to writing subscript
 
; [[Template:Sup]] : Superscript-template, shortcut to writing superscript
 
; [[Template:Sup]] : Superscript-template, shortcut to writing superscript
 
; [[Template:Tt]] : Teletype-template, to access monospacing without HTML-hassle
 
; [[Template:Tt]] : Teletype-template, to access monospacing without HTML-hassle
 
; [[Template:TTL]] : for TeleTypedLinks
 
; [[Template:TTL]] : for TeleTypedLinks
 +
; [[Template:U]] : Underline-template, shortcut to underlining text
 +
 +
===Categories===
 +
; [[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:FlagMoved]] : Categorization-template for [[Template:Flag|<nowiki>{{flag|files=}}</nowiki>]]-entries that have been moved between games
 +
 +
===Special Purpose===
 +
; [[Template:Flag]] : INI-Flag template, header for all INI flag pages
 +
; [[Template:Quote]] : Quote-template, to unify quotation markups
 +
; [[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 <!-- it's sad that people need sentences like these -->
 
; [[Template:Wishlist/TOC]] : Wishlist TOC template, the RockPatch Wishlist's table of contents
 
; [[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
+
 
 +
===Other===
 +
; [[Template:N]] : Minitemplate used to indicate "no" on functionality tables, checklists and the like
 +
; [[Template:Q]] : Minitemplate used to indicate "unknown/untested" on functionality tables, checklists and the like
 
; [[Template:Y]] : Minitemplate used to indicate "yes" on functionality tables, checklists and the like
 
; [[Template:Y]] : Minitemplate used to indicate "yes" on functionality tables, checklists and the like
  

Revision as of 16:35, 19 June 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.

List

Messages and Marks

Template:Cleanup 
Cleanup-mark-template, to mark pages violating the Styleguide
Template:Disambig 
Disambiguation template, for disambiguation pages
Template:Discussed 
Work in Progress template, for pages under discussion
Template:Highlighted 
Highlighted page template, to mark pages of exceptional quality
Template:Meanings 
Primary meaning template, for cases where disambiguation would be too much
Template:NeedTesting 
Used to indicate articles containing unverified information
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:WrongTitle 
Wrong title template, for those pages whose name can't be saved correctly due to technical reasons

Bars and Boxes

Template:BigHorizontalBar 
Horizontal bar template, big horizontal bar with custom text
Template:HorizontalBar 
Horizontal bar template, standard horizontal bar with custom text
Template:ModBar 
Mod information bar template, information sidebar for mod-pages
Template:RedHorizontalBar 
Warning red horizontal bar, like {{Obsolete}}, but text defined by a parameter
Template:SideBar 
Side bar template, creating a sidebar which includes another page as content

Formatting

Template:Co 
Colorization-template for text, easier to use than <font> tags
Template:Sc 
Small caps-template, shortcut to writing text in small caps
Template:Strike 
Strike out-template, shortcut to striking out text
Template:Sub 
Subscript-template, shortcut to writing subscript
Template:Sup 
Superscript-template, shortcut to writing superscript
Template:Tt 
Teletype-template, to access monospacing without HTML-hassle
Template:TTL 
for TeleTypedLinks
Template:U 
Underline-template, shortcut to underlining text

Categories

Template:CatAllTypes 
Categorization-template for flags which are available on all *Types
Template:Categ 
Categorization-template for {{flag|files=}}-entries
Template:FlagMoved 
Categorization-template for {{flag|files=}}-entries that have been moved between games

Special Purpose

Template:Flag 
INI-Flag template, header for all INI flag pages
Template:Quote 
Quote-template, to unify quotation markups
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:Wishlist/TOC 
Wishlist TOC template, the RockPatch Wishlist's table of contents

Other

Template:N 
Minitemplate used to indicate "no" on functionality tables, checklists and the like
Template:Q 
Minitemplate used to indicate "unknown/untested" on functionality tables, checklists and the like
Template:Y 
Minitemplate used to indicate "yes" on functionality tables, checklists and the like

Creating your own Templates

You are free to add your own templates, under three conditions:

  1. The templates serves an actual valuable purpose
  2. You add it to the list above
  3. It fites the general style of the rest

To achieve point three, the easiest way might be to pay ModEnc:Tables a visit. ;)

In addition to the rules above, this should be included on template-pages:

<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.