Difference between revisions of "Template:Curlie/doc"

From blackwiki
Jump to navigation Jump to search
imported>Koavf
(cat)
imported>Uzume
 
(23 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
<noinclude>{{Documentation subpage}}</noinclude>
 
<noinclude>{{Documentation subpage}}</noinclude>
 
+
:Note that DMOZ was taken offline by AOL starting March 14, 2017. This template maps to Curlie.org, a directory based on DMOZ, and maintained by the same editor community.
 
== Function ==
 
== Function ==
Link to [[Open Directory Project]] categories.
+
Link to the former [[DMOZ]] categories and profiles.
  
 
== Usage ==
 
== Usage ==
 +
This template has two distinct formats for linking to DMOZ categories and DMOZ 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.
 
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.
  
<nowiki>{{Dmoz|Path/To/Category|Category's name}}</nowiki>
+
<nowiki>{{Curlie|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:
+
Make sure to remove the Curlie.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 Curlie category is:
  
:''<nowiki>http://www.dmoz.org/Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham/</nowiki>''
+
:''<nowiki>https://curlie.org/Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham/</nowiki>''
  
 
so the path should be given as:
 
so the path should be given as:
Line 19: Line 22:
 
Example:
 
Example:
  
<nowiki>{{Dmoz|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}}</nowiki>
+
<nowiki>{{Curlie|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}}</nowiki>
 +
 
 +
Appears as:
 +
 
 +
{{Curlie|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}}
 +
 
 +
Any content in the article namespace which transcludes this template will be added to the tracking category [[:Category:Articles with Curlie links|Articles with Curlie links]]. Link checkers from both projects can ensure that these links work properly and reduce redundancy in our [[WP:EL|external links sections]].
 +
 
 +
=== Profiles ===
 +
To link to  profile rather than a category, include the word 'user' as a third parameter.
 +
 
 +
<nowiki>{{Curlie|Your username|Your name|user}}</nowiki>
 +
 
 +
Example:
 +
 
 +
<nowiki>{{Curlie|skrenta|Rich Skrenta|user}}</nowiki>
  
 
Appears as:
 
Appears as:
  
{{Dmoz|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}}
+
{{Curlie|skrenta|Rich Skrenta|user}}
  
<includeonly>[[Category:External link templates|Dmoz]]
+
==See also==
[[Category:Open Directory Project]]
+
{{wikidata property|P998}}
[[ar:قالب:مشروع الدليل المفتوح]]
+
* {{tls|No more links}}
[[als:Vorlage:Dmoz]]
+
<includeonly>{{Sandbox other||
[[bar:Vorlage:Dmoz]]
+
[[Category:External link templates]]
[[bg:Шаблон:Dmoz]]
+
}}</includeonly>
[[ca:Plantilla:Dmoz]]
+
<templatedata>
[[da:Skabelon:Dmoz]]
+
{
[[de:Vorlage:Dmoz]]
+
"params": {},
[[eo:Ŝablono:Dmoz]]
+
"format": "block"
[[es:Plantilla:Dmoz]]
+
}
[[fr:Modèle:Dmoz]]
+
</templatedata>
[[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]]
 
[[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]]
 
[[tt:Үрнәк:Dmoz]]
 
[[uk:Шаблон:Dmoz]]
 
[[vec:Modèl:Dmoz]]
 
[[vi:Bản mẫu:Dmoz]]
 
[[zh:Template:Dmoz]]
 
</includeonly>
 

Latest revision as of 04:03, 13 November 2020

Note that DMOZ was taken offline by AOL starting March 14, 2017. This template maps to Curlie.org, a directory based on DMOZ, and maintained by the same editor community.

Function

Link to the former DMOZ categories and profiles.

Usage

This template has two distinct formats for linking to DMOZ categories and DMOZ 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.

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

Make sure to remove the Curlie.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 Curlie category is:

https://curlie.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:

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

Appears as:

Abraham Lincoln at Curlie

Any content in the article namespace which transcludes this template will be added to the tracking category Articles with Curlie links. Link checkers from both projects can ensure that these links work properly and reduce redundancy in our external links sections.

Profiles

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

{{Curlie|Your username|Your name|user}}

Example:

{{Curlie|skrenta|Rich Skrenta|user}}

Appears as:

Rich Skrenta at Curlie

See also

Template:Wikidata property

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified