Difference between revisions of "Template:Category game screenshot header/doc"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
To use this template, add the following code to the top of the category:
 
To use this template, add the following code to the top of the category:
  
:<tt><nowiki>{{Category game screenshot header|parameter1}}</nowiki></tt>
+
:<kbd><nowiki>{{Category game screenshot header|parameter1}}</nowiki></kbd>
  
 
Where ''parameter1'' is the subject of the category. This will also make the category a child of [[:Category:Screenshots of video games]].
 
Where ''parameter1'' is the subject of the category. This will also make the category a child of [[:Category:Screenshots of video games]].
Line 11: Line 11:
 
To change the parent of the category, use a sceond parameter, like so:
 
To change the parent of the category, use a sceond parameter, like so:
  
:<tt><nowiki>{{cat logo head|parameter1|parameter2}}</nowiki></tt>
+
:<kbd><nowiki>{{cat logo head|parameter1|parameter2}}</nowiki></kbd>
  
 
Where ''parameter1'' is the subject of the category, and ''parameter2'' is the parent category. This will make the category a child of [[:Category:Parameter2]].
 
Where ''parameter1'' is the subject of the category, and ''parameter2'' is the parent category. This will make the category a child of [[:Category:Parameter2]].
  
=== See also ===
+
{{Other category-header templates}}
*
 
  
 
<includeonly>
 
<includeonly>

Latest revision as of 06:16, 5 August 2018

Usage

To use this template, add the following code to the top of the category:

{{Category game screenshot header|parameter1}}

Where parameter1 is the subject of the category. This will also make the category a child of Category:Screenshots of video games.

To change the parent of the category, use a sceond parameter, like so:

{{cat logo head|parameter1|parameter2}}

Where parameter1 is the subject of the category, and parameter2 is the parent category. This will make the category a child of Category:Parameter2.

Other category-header templates