Bản mẫu:Dmoz
Link to the former DMOZ categories and profiles.
Cách sử dụng
[sửa mã nguồn]This template has two distinct formats for linking to DMOZ categories and DMOZ profiles.
Categories
[sửa mã nguồn]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 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:
{{Dmoz|Society/History/By_Region/North_America/United_States/Presidents/Lincoln,_Abraham|Abraham Lincoln}}
Appears as:
Abraham Lincoln trên DMOZ
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
[sửa mã nguồn]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 trên DMOZ
Xem thêm
[sửa mã nguồn]- dmoz (P998) (xem sử dụng)
- {{thế:No more links}}