Template:Dabdef/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(New page: '''Usage''' Produces a standard warning message for the definition of all terms which are disambiguated. Placed on the /Definition subpage of the base name of all terms which are disambig...)
 
imported>Chris Day
No edit summary
Line 1: Line 1:
'''Usage'''
===Usage===


Produces a standard warning message for the definition of all terms which are disambiguated. Placed on the /Definition subpage of the base name of all terms which are disambiguated; the page at the base name will often contain a redirect to a disambiguation page. Takes an optional argument which is the basename to direct people to.
Produces a standard warning message for the definition of all terms which are disambiguated. Placed on the /Definition subpage of the base name of all terms which are disambiguated; the page at the base name will often contain a redirect to a disambiguation page. Takes an optional argument which is the basename to direct people to.


'''Example''':
===Example===


See [[Speech/Definition]]
See [[Speech/Definition]]




'''Caveats'''
===Caveats===


Should not be placed on Definition subpages of disambiguation pages.
Should not be placed on Definition subpages of disambiguation pages.
===Code===
====Rpl def1====
'''Used when the term is a cluster and has a definition page (also a disambiguation page if used via R template)
====Rpl def3====
'''Used when the term is a cluster with no definition page (but does have a disambiguation page if used via R template)
'''Used when there is no Metadata (but has a disambiguation if used via R template)
''<font color=#666666>Please do not use this term in your topic list, because there is no single article for it. Please substitute a more precise </font>''
'''If no metadata and disambiguation page already exists (use via the R template will always give this version if the term has no metadata). Finishes with:
:''<font color=#666666>term. See</font> [[{{{1|{{BASEPAGENAME}}}}} (disambiguation)]] <font color=#666666>for a list of available, more precise, topics. Please add a new usage if needed.</font>''
'''If no metadata or disambiguation page (Use via the R template will never use this route since the term will always have a disambiguation page if it calls this template). Finishes with:
:''<font color=#666666>term from the disambiguation page. </font>
::Note: currently there is no disambiguation page for '''{{{1|{{BASEPAGENAME}}}}}''', [http://en.citizendium.org/wiki?action=edit&preload=Template%3APreload-disambig&title={{urlencode:{{{1|{{BASEPAGENAME}}}}}}}_(disambiguation) please create one.]''

Revision as of 15:22, 26 February 2009

Usage

Produces a standard warning message for the definition of all terms which are disambiguated. Placed on the /Definition subpage of the base name of all terms which are disambiguated; the page at the base name will often contain a redirect to a disambiguation page. Takes an optional argument which is the basename to direct people to.

Example

See Speech/Definition


Caveats

Should not be placed on Definition subpages of disambiguation pages.


Code

Rpl def1

Used when the term is a cluster and has a definition page (also a disambiguation page if used via R template)

Rpl def3

Used when the term is a cluster with no definition page (but does have a disambiguation page if used via R template)


Used when there is no Metadata (but has a disambiguation if used via R template)

Please do not use this term in your topic list, because there is no single article for it. Please substitute a more precise

If no metadata and disambiguation page already exists (use via the R template will always give this version if the term has no metadata). Finishes with:

term. See Dabdef (disambiguation) for a list of available, more precise, topics. Please add a new usage if needed.

If no metadata or disambiguation page (Use via the R template will never use this route since the term will always have a disambiguation page if it calls this template). Finishes with:

term from the disambiguation page.
Note: currently there is no disambiguation page for Dabdef, please create one.