Difference between revisions of "Template:Curlie/doc"

From blackwiki
Jump to navigation Jump to search
imported>MKar
(ILL-or)
imported>DixonDBot
m (Migrating 40 interwiki links, now provided by Wikidata on d:Q6308649)
Line 41: Line 41:
  
 
<includeonly>[[Category:External link templates|Dmoz]]
 
<includeonly>[[Category:External link templates|Dmoz]]
[[ar:قالب:مشروع الدليل المفتوح]]
+
</includeonly>
 +
 
 +
<includeonly>
 
[[als:Vorlage:Dmoz]]
 
[[als:Vorlage:Dmoz]]
[[bar:Vorlage:Dmoz]]
 
[[bg:Шаблон:Dmoz]]
 
[[ca:Plantilla:Dmoz]]
 
[[da:Skabelon:Dmoz]]
 
[[de:Vorlage:Dmoz]]
 
[[eo:Ŝablono:Dmoz]]
 
[[es:Plantilla:Dmoz]]
 
[[fr:Modèle:Dmoz]]
 
[[hi:साँचा:Dmoz]]
 
[[hr:Predložak:Dmoz]]
 
[[id:Templat:Dmoz]]
 
[[is:Snið:Dmoz]]
 
[[it:Template:Dmoz]]
 
[[ja:Template:Dmoz]]
 
[[ko:틀:Dmoz]]
 
[[ksh:Schablon:Dmoz]]
 
[[lo:ແມ່ແບບ:Dmoz]]
 
[[mk:Шаблон:ODP]]
 
[[ml:ഫലകം:Dmoz]]
 
[[mn:Загвар:Dmoz]]
 
[[ms:Templat:Dmoz]]
 
[[no:Mal:Dmoz]]
 
[[or:ଛାଞ୍ଚ:Dmoz]]
 
[[pl:Szablon:Open Directory Project]]
 
[[pt:Predefinição:Dmoz]]
 
[[roa-tara:Template:Dmoz]]
 
[[ru:Шаблон:Dmoz]]
 
[[simple:Template:Dmoz]]
 
[[sl:Predloga:Dmoz]]
 
[[sq:Stampa:Dmoz]]
 
[[su:Citakan:Dmoz]]
 
[[sv:Mall:Dmoz]]
 
[[th:แม่แบบ:Dmoz]]
 
[[tr:Şablon:DMOZ]]
 
[[tt:Үрнәк:Dmoz]]
 
[[uk:Шаблон:Dmoz]]
 
[[vec:Modèl:Dmoz]]
 
[[vi:Bản mẫu:Dmoz]]
 
[[zh:Template:Dmoz]]
 
 
</includeonly>
 
</includeonly>

Revision as of 21:46, 27 March 2013

Function

Link to Open Directory Project categories and profiles.

Usage

This template has two distinct formats for linking to Open Directory categories and Open Directory profiles.

Categories

To link to a category, give the path to the category as the first parameter, and an optional name as the second parameter. If no name is provided, the template will use the name of the page.

{{Dmoz|Path/To/Category|Category's name}}

Make sure to remove the dmoz.org domain name and any leading or trailing slashes from the path; these will be provided by the template. For instance, the URI for Abraham Lincoln's Open Directory category is:

http://www.dmoz.org/Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham/

so the path should be given as:

Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham

Example:

{{Dmoz|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}}

Appears as:

Abraham Lincoln at Curlie

Profiles

To link to profile rather than a category, include the word 'user' as a third parameter.

{{Dmoz|Your username|Your name|user}}

Example:

{{Dmoz|skrenta|Rich Skrenta|user}}

Appears as:

Rich Skrenta at Curlie