Difference between revisions of "Template:Explain parameters"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>category:Wikispooks Templates '''This template creates a short summary of the parameter types, by colour'''.<br/> It should be included in the {{t|<nowiki><noin...")
 
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[category:Wikispooks Templates]]
 
<noinclude>[[category:Wikispooks Templates]]
 
'''This template creates a short summary of the parameter types, by colour'''.<br/> It should be included in the {{t|<nowiki><noinclude></nowiki>}} section of all object templates.<br/>
 
'''This template creates a short summary of the parameter types, by colour'''.<br/> It should be included in the {{t|<nowiki><noinclude></nowiki>}} section of all object templates.<br/>
</noinclude><includeonly>{{QB|
+
</noinclude>{{QB|
{{BLUE|The blue parameters should be Wikispooks page names (whether or not the page yet exists).}}<br/>
+
{{BLUE|Blue parameters}} are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)<br/>
{{GREEN|The green parameters should be comma separated lists of Wikispooks page names (whether or not the page yet exists).}}<br/>
+
{{BROWN|Brown parameters}} are for numbers<br/>
 +
{{GREEN|Green parameters}} are for comma-separated lists of page names (Or planned page names).<br/>
 +
{{NAVY|Navy parameters}} are for dates<br/>
 +
{{ORANGE|Orange parameters}} are for booleans. (Usually, either "Yes" or just leave blank).<br/>
 +
{{PURPLE|Purple parameters}} are URLs.<br/>
 +
{{VIOLET|Violet parameters}} are slash-separated lists.<br/>
 +
{{PINK|Pink parameters}} are for coordinates.<br/>
 +
<s>Crossed out parameters</s> were formerly available, but have been upgraded. Some may still work, but do not use these.
 
}}
 
}}
</includeonly>
 

Latest revision as of 17:24, 14 October 2018

This template creates a short summary of the parameter types, by colour.
It should be included in the <noinclude> section of all object templates.

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.