Difference between revisions of "Category:Templates"

m
m
Line 1: Line 1:
This is the base category for templates. We are attempting to categorize all templates available in UOGuide here, to make them easier to find for people that might also need them.
+
This is the base category for templates used on [[UOGuide]].
 
* Please do not put any templates directly into this root category. That is what the subcategories are for.
 
* Please do not put any templates directly into this root category. That is what the subcategories are for.
  
 
+
{{Category|UOGuide}}
To put a template in a Category:
+
* Use <span style="white-space: nowrap; background:white; border: 1px #2f6fab dashed; color:black; font-family: 'courier new', courier, 'sans serif', sans-serif, monospace; padding:0.1em 0.5em; margin: 0em 0.2em;">&lt;noinclude&gt;&#x5b;&#x5b;Category:{{PAGENAME}}&#x7c;&#x7b;&#x7b;PAGENAME&#x7d;&#x7d;&#x5d;&#x5d;&lt;/noinclude&gt;</span>. The "&lt;noinclude&gt;" tags are necessary because without them, you end up categorizing all pages using the template in the template category! &nbsp; Please also note the <tt style="border-bottom: 1px dotted; cursor: help;" title="Makes it sort on the actual template name rather than 'T' as in 'Template:'."><nowiki>|{{PAGENAME}}</nowiki></tt>.
+
* If your template is meant to be '''used in-line''', make sure that there are '''no line feeds''' after <tt>&lt;/noinclude&gt;</tt>. If there are, it may work in flowing text, but it will misbehave in bullet lists. You can have as many line feeds as you like ''between'' the noinclude tags though:
+
{| style="background:white; border:1px #2f6fab dashed; color:black; font-family:'courier new', courier, 'sans serif', sans-serif, monospace; margin-left:20px; padding:1px;"
+
|-
+
| &nbsp;
+
| &lt;noinclude&gt;&#x5b;&#x5b;Category:{{PAGENAME}}&#x7c;&#x7b;&#x7b;PAGENAME&#x7d;&#x7d;&#x5d;&#x5d;<br>
+
&lt;/noinclude&gt;''Text or graphic that is meant to be used in-line
+
| &nbsp;
+
|}
+
* Remember that a template can be put in multiple categories if it belongs to them all!
+
 
+
[[Category:UOGuide]]
+

Revision as of 14:12, 29 March 2010

This is the base category for templates used on UOGuide.

  • Please do not put any templates directly into this root category. That is what the subcategories are for.

Subcategories

This category has the following 8 subcategories, out of 8 total.