Template:Mbox-TOL-Category

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(fix later)
 
m
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
{{#ifeq:{{{small|}}}|yes
+
<noinclude></noinclude>{{tmbox/core
| {{tmbox/core
+
  | small = yes
+
  | type  = {{{type|}}}
+
  | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
+
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
+
  | style = {{{style|}}}
+
  | class = {{{class|}}}
+
  | textstyle = {{{textstyle|}}}
+
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
+
  }}
+
| {{tmbox/core
+
 
   | type  = {{{type|}}}
 
   | type  = {{{type|}}}
 
   | image = {{{image|}}}
 
   | image = {{{image|}}}
 
   | imageright = {{{imageright|}}}
 
   | imageright = {{{imageright|}}}
   | style = {{{style|}}}
+
   | style = {{{style|border:solid 1px grey; background:#dddddd; padding:5px 2em 1em 2em; width:98%;align:center;clear:both;}}}
 
   | class = {{{class|}}}
 
   | class = {{{class|}}}
 
   | textstyle = {{{textstyle|}}}
 
   | textstyle = {{{textstyle|}}}
 
   | text  = {{{text}}}
 
   | text  = {{{text}}}
 
   }}
 
   }}
}}<noinclude>{{FAB-todo}}
+
<noinclude>
 +
[[Category:Mbox templates|{{PAGENAME}}]]
 +
{{FAB-todo}}
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 14:10, 20 August 2013

purpose

This template is used to identify categories as non-article spaces, describe what the category contents should be, and list any applicable auto-categorizing templates which might list pages to the category.  

usage
  1. Enter {{Mbox-TOL-Category|text= some descriptive text }} on the category page.
  2. After the description of the contents, it is conventional to close the entry with a hard return <hr/> which will then start a newline.
  3. Under the hard return, list instructions on how to add a page to that category. For examples, see category:reference pages and {{ORP-bot}}.

 

 

Personal tools