Difference between revisions of "Template:Curlie/doc"
(←Replaced content with ' '''Bold <gallery> Image:Example.jpg|Caption1 Image:Example.jpg|Caption2 </gallery> text'' '''Bold text''' the sickle cell gene is sooooooooooooooo deadly') |
imported>ClueBot m (Reverting possible vandalism by 78.145.68.214 to version by Ludwigs2. False positive? Report it. Thanks, ClueBot. (657078) (Bot)) |
||
| Line 1: | Line 1: | ||
| + | {{redirect|WP:DMOZ|the Wikipedia policy on lists of external links|WP:LINKFARM}} | ||
| + | <noinclude>{{Documentation subpage}}</noinclude> | ||
| − | + | == 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. | ||
| − | the | + | <nowiki>{{Dmoz|Path/To/Category|Category's name}}</nowiki> |
| + | |||
| + | 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: | ||
| + | |||
| + | :''<nowiki>http://www.dmoz.org/Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham/</nowiki>'' | ||
| + | |||
| + | so the path should be given as: | ||
| + | |||
| + | :''Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham'' | ||
| + | |||
| + | Example: | ||
| + | |||
| + | <nowiki>{{Dmoz|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}}</nowiki> | ||
| + | |||
| + | Appears as: | ||
| + | |||
| + | {{Dmoz|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}} | ||
| + | |||
| + | === Profiles === | ||
| + | To link to profile rather than a category, include the word 'user' as a third parameter. | ||
| + | |||
| + | <nowiki>{{Dmoz|Your username|Your name|user}}</nowiki> | ||
| + | |||
| + | Example: | ||
| + | |||
| + | <nowiki>{{Dmoz|skrenta|Rich Skrenta|user}}</nowiki> | ||
| + | |||
| + | Appears as: | ||
| + | |||
| + | {{Dmoz|skrenta|Rich Skrenta|user}} | ||
| + | |||
| + | <includeonly>[[Category:External link templates|Dmoz]] | ||
| + | |||
| + | [[bg:Шаблон:Dmoz]] | ||
| + | [[da:Skabelon:Dmoz]] | ||
| + | [[de:Template:Dmoz]] | ||
| + | [[fr:Template:Dmoz]] | ||
| + | [[hr:Predložak:Dmoz]] | ||
| + | [[is:Snið:Dmoz]] | ||
| + | [[it:Template:Dmoz]] | ||
| + | [[ja:Template:Dmoz]] | ||
| + | [[no:Mal:Dmoz]] | ||
| + | [[ru:Шаблон:Dmoz]] | ||
| + | [[sq:Stampa:Dmoz]] | ||
| + | [[uk:Шаблон:Dmoz]] | ||
| + | [[lo:ແມ່ແບບ:Dmoz]] | ||
| + | </includeonly> | ||
Revision as of 18:12, 2 April 2009
| This is a documentation subpage for Template:Curlie. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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:
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: