YOU CAN EDIT THIS PAGE! Just click any blue "Edit" link and start writing!

Difference between revisions of "Template:WikitravelDoc"

From Wikitravel
Jump to: navigation, search
m (update usage)
m (shorten argument names)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{category}}}
 
<includeonly>{{#switch: {{{category}}}
  | Wikitravel administration = [[Category:Wikitravel administration]]
+
  | administration = [[Category:Wikitravel administration]]
  | Wikitravel Expeditions = [[Category:Wikitravel Expeditions]]
+
  | expeditions = [[Category:Wikitravel Expeditions]]
  | Wikitravel help = [[Category:Wikitravel help]]
+
  | help = [[Category:Wikitravel help]]
  | Wikitravel nominations = [[Category:Wikitravel nominations]]
+
  | nominations = [[Category:Wikitravel nominations]]
  | Wikitravel nominations/archive = [[Category:Wikitravel nominations/archive]]
+
  | nominations/archive = [[Category:Wikitravel nominations/archive]]
  | Wikitravel policies = [[Category:Wikitravel policies]]
+
  | policies = [[Category:Wikitravel policies]]
 
  | #default = Invalid argument for {{FULLPAGENAME}}.  Please see [[{{FULLPAGENAME}}]] for usage instructions.
 
  | #default = Invalid argument for {{FULLPAGENAME}}.  Please see [[{{FULLPAGENAME}}]] for usage instructions.
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
This template is used to categorize pages in the Wikitravel: namespace.  This template must be passed one of the following arguments:
 
This template is used to categorize pages in the Wikitravel: namespace.  This template must be passed one of the following arguments:
  
* '''Wikitravel administration''' - Used for infrastructure pages that manage or modify the behavior of the Mediawiki software, such as [[Wikitravel:Local spam blacklist]] or [[Wikitravel:Links to disambiguating pages]].
+
* '''administration''' - Used for infrastructure pages that manage or modify the behavior of the Mediawiki software, such as [[Wikitravel:Local spam blacklist]] or [[Wikitravel:Links to disambiguating pages]].
* '''Wikitravel Expeditions''' - Used for [[Wikitravel:Expeditions|expedition pages]].
+
* '''expeditions''' - Used for [[Wikitravel:Expeditions|expedition pages]].
* '''Wikitravel help''' - Used for help/HOWTO pages such as [[Wikitravel:User page help]] or [[Wikitravel:How to create an account]].
+
* '''help''' - Used for help/HOWTO pages such as [[Wikitravel:User page help]] or [[Wikitravel:How to create an account]].
* '''Wikitravel nominations''' - Used for voting and nomination pages such as [[Wikitravel:Votes for deletion]] and [[Wikitravel:Star nominations]].
+
* '''nominations''' - Used for voting and nomination pages such as [[Wikitravel:Votes for deletion]] and [[Wikitravel:Star nominations]].
* '''Wikitravel nominations/archive''' - Used for archives of nomination pages such as [[Wikitravel:Votes for deletion/July 2010]].
+
* '''nominations/archive''' - Used for archives of nomination pages such as [[Wikitravel:Votes for deletion/July 2010]].
* '''Wikitravel policies''' - Used for site policies and guidelines such as [[Wikitravel:External links]] and [[Wikitravel:Don't tout]].
+
* '''policies''' - Used for site policies and guidelines such as [[Wikitravel:External links]] and [[Wikitravel:Don't tout]].
  
Sample template usage: <code><nowiki>{{</nowiki>{{PAGENAME}} | category=Wikitravel help<nowiki>}}</nowiki></code>
+
Sample template usage: <code><nowiki>{{</nowiki>{{PAGENAME}} | category=help<nowiki>}}</nowiki></code>
 
</noinclude>
 
</noinclude>

Revision as of 20:08, 7 August 2010

This template is used to categorize pages in the Wikitravel: namespace. This template must be passed one of the following arguments:

Sample template usage: {{WikitravelDoc | category=help}}