Bahaipedia
Bahaipedia
Menu
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Template
Discussion
View history
Talk
Contributions
Create account
Log in
Navigation
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Learn more
Core topics
Bahá’í Faith
Central Figures
Teachings
Practices
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Translations

Template:Dmoz/doc

From Bahaipedia
< Template:Dmoz
Jump to:navigation, search
This is a documentation subpage for Template:Dmoz.
It may contain usage information, categories and other content that is not part of the original template page.

Contents

  • 1 Function
  • 2 Usage
    • 2.1 Categories
    • 2.2 Profiles

Function[edit]

Link to DMOZ categories and profiles.

Usage[edit]

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

Categories[edit]

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 DMOZ 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 (formerly DMOZ)

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

Profiles[edit]

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 (formerly DMOZ)

Retrieved from "https://bahaipedia.org/index.php?title=Template:Dmoz/doc&oldid=99059"
Category:
  • Template documentation pages
This page was last edited on 21 November 2021, at 03:54.
Text is available under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Privacy policy
About Bahaipedia
Disclaimers
Powered by MediaWiki