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 (fix default)
(update w/ sort key per LtPowers)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1}}}
 
<includeonly>{{#switch: {{{1}}}
  | administration = [[Category:Wikitravel administration|{{PAGENAME}}]]
+
  | administration = [[Category:Wikitravel administration|{{{2|{{PAGENAME}}}}}]]
  | expeditions = [[Category:Wikitravel Expeditions|{{PAGENAME}}]]
+
  | expeditions = [[Category:Wikitravel Expeditions|{{{2|{{PAGENAME}}}}}]]
  | help = [[Category:Wikitravel help|{{PAGENAME}}]]
+
  | help = [[Category:Wikitravel help|{{{2|{{PAGENAME}}}}}]]
  | logs = [[Category:Wikitravel logs archive|{{PAGENAME}}]]
+
  | logs = [[Category:Wikitravel logs archive|{{{2|{{PAGENAME}}}}}]]
  | nominations = [[Category:Wikitravel nominations|{{PAGENAME}}]]
+
  | nominations = [[Category:Wikitravel nominations|{{{2|{{PAGENAME}}}}}]]
  | nominations/archive = [[Category:Wikitravel nominations archive|{{PAGENAME}}]]
+
  | nominations/archive = [[Category:Wikitravel nominations archive|{{{2|{{PAGENAME}}}}}]]
  | policies = [[Category:Wikitravel policies|{{PAGENAME}}]]
+
  | policies = [[Category:Wikitravel policies|{{{2|{{PAGENAME}}}}}]]
  | site = [[Category:Wikitravel site|{{PAGENAME}}]]
+
  | site = [[Category:Wikitravel site|{{{2|{{PAGENAME}}}}}]]
 
  | #default = Invalid argument for Template:WikitravelDoc.  Please see [[:Template:WikitravelDoc]] for usage instructions.
 
  | #default = Invalid argument for Template:WikitravelDoc.  Please see [[:Template:WikitravelDoc]] for usage instructions.
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Line 21: Line 21:
 
* '''site''' - Used for pages about Wikitravel such as [[Wikitravel:Awards]] or [[Wikitravel:10K Party]].
 
* '''site''' - Used for pages about Wikitravel such as [[Wikitravel:Awards]] or [[Wikitravel:10K Party]].
  
Sample template usage: <code><nowiki>{{</nowiki>{{PAGENAME}}|help<nowiki>}}</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.
 
</noinclude>
 
</noinclude>

Revision as of 01:28, 11 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|help}}
  • {{WikitravelDoc|help|sort}} - Used when a category sort key other than the PAGENAME value should be used.