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 (Protected "Template:WikitravelDoc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{category}}}
+
<includeonly>{{#switch: {{{1}}}
  | Wikitravel administration = [[Category:Wikitravel administration]]
+
  | administration = [[Category:Wikitravel administration|{{{2|{{PAGENAME}}}}}]]
  | Wikitravel expeditions = [[Category:Wikitravel Expeditions]]
+
  | collaboration = [[Category:Wikitravel collaboration|{{{2|{{PAGENAME}}}}}]]
  | Wikitravel help = [[Category:Wikitravel help]]
+
| collaboration/archive = [[Category:Wikitravel collaboration archive|{{{2|{{PAGENAME}}}}}]]
  | Wikitravel nominations = [[Category:Wikitravel nominations]]
+
| expeditions = [[Category:Wikitravel Expeditions|{{{2|{{PAGENAME}}}}}]]
  | Wikitravel nominations/archive = [[Category:Wikitravel nominations/archive]]
+
  | help = [[Category:Wikitravel help|{{{2|{{PAGENAME}}}}}]]
  | Wikitravel policies = [[Category:Wikitravel policies]]
+
  | logs = [[Category:Wikitravel logs archive|{{{2|{{PAGENAME}}}}}]]
  | #default = Invalid argument for {{FULLPAGENAME}}.  Please see [[{{FULLPAGENAME}}]] for usage instructions.
+
  | policies = [[Category:Wikitravel policies|{{{2|{{PAGENAME}}}}}]]
 +
  | site = [[Category:Wikitravel site|{{{2|{{PAGENAME}}}}}]]
 +
  | #default = Invalid argument for Template:WikitravelDoc.  Please see [[:Template:WikitravelDoc]] 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]].
+
* '''collaboration''' - Used for discussion and nomination pages such as [[Wikitravel:Votes for deletion]] and [[Wikitravel:Star nominations]].
* '''Wikitravel help''' - Used for help/HOWTO pages such as [[Wikitravel:User page help]] or [[Wikitravel:How to create an account]].
+
* '''collaboration/archive''' - Used for archives of discussion and nomination pages such as [[Wikitravel:Votes for deletion/July 2010]].
* '''Wikitravel nominations''' - Used for voting and nomination pages such as [[Wikitravel:Votes for deletion]] and [[Wikitravel:Star nominations]].
+
* '''expeditions''' - Used for [[Wikitravel:Expeditions|expedition pages]].
* '''Wikitravel nominations/archive''' - Used for archives of nomination pages such as [[Wikitravel:Votes for deletion/July 2010]].
+
* '''help''' - Used for help/HOWTO pages such as [[Wikitravel:User page help]] or [[Wikitravel:How to create an account]].
* '''Wikitravel policies''' - Used for site policies and guidelines such as [[Wikitravel:External links]] and [[Wikitravel:Don't tout]].
+
* '''logs''' - Used for the (now obsolete) Wikitravel log pages such as [[Wikitravel:10 April 2007]].
 +
* '''policies''' - Used for site policies and guidelines such as [[Wikitravel:External links]] and [[Wikitravel:Don't tout]].
 +
* '''site''' - Used for pages about Wikitravel such as [[Wikitravel:Awards]] or [[Wikitravel:10K Party]].
  
Sample template usage: <code><nowiki>{{Wikitravel documentation | Wikitravel help}}</nowiki></code>
+
Sample template usage:
 +
* <code><nowiki>{{</nowiki>{{PAGENAME}}|help<nowiki>}}</nowiki></code>
 +
* <code><nowiki>{{</nowiki>{{PAGENAME}}|help<nowiki>|sort}}</nowiki></code> - Used when a category sort key other than the PAGENAME value should be used.
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:00, 27 May 2014

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|help}}
  • {{WikitravelDoc|help|sort}} - Used when a category sort key other than the PAGENAME value should be used.