ഫലകം:Codifiednavbar/doc
This is a documentation subpage for ഫലകം:Codifiednavbar. It may contain usage information, categories and other content that is not part of the original ഫലകം page. |
Function
തിരുത്തുകPurpose
തിരുത്തുകCodifiednavbar (Codified data in a template navigation bar) is a template to allow access to the shared location of standardised, possibly encyclopedic, content used by multiple articles and other pages in Wikipedia.
The template will display text with links to view, edit, and discuss the codified data.
Behaviours
തിരുത്തുകNo wrap
തിരുത്തുകThe text displayed by the template will no text wrap on white space.
Compatability with Tnavbar
തിരുത്തുകThis template is mostly backwards compatible with {{Navbar}}.
Deficiencies
തിരുത്തുകDefault options
തിരുത്തുകThe default setting with no options parameters set is not really useful.
For example:
{{Codifiednavbar|Specialist lea type descr}}
Produces:
Parameter checking
തിരുത്തുകThe template does not check for mandatory parameters.
Usage
തിരുത്തുകThe following skeleton can be copied and edited into an article. For a description of each parameter, see Template parameters, below.
Skeleton
തിരുത്തുക{{Codifiednavbar|codifieddatatemplatename | nohead= | notail= | text= | nodiv= }}
Examples
തിരുത്തുകSituation | Wiki text | Results in |
---|---|---|
Normal | ||
Default | Some text before. {{Codifiednavbar|Specialist lea type descr}} Some text afterwards. | Some text before. | Some text afterwards.
No head | Some text before. {{Codifiednavbar|Specialist lea type descr|nohead=1}} Some text afterwards. | Some text before. | Some text which afterwards.
No tail | Some text before. {{Codifiednavbar|Specialist lea type descr|notail=1}} Some text afterwards. | Some text before. | Some text afterwards.
Different colour | Some text before. {{Codifiednavbar|Specialist lea type descr|fontcolor=olive}} Some text afterwards. | Some text before. | Some text afterwards.
Inline, and no head | Some text before. {{Codifiednavbar|Specialist lea type descr|nohead=1|nodiv=1}} Some text afterwards. | Some text before. | Some text afterwards.
Inline, no head, and set text | Some text before. {{Codifiednavbar|Specialist lea type descr|nohead=1|nodiv=1|text=text naming codified data}} Some text afterwards. | Some text before. | Some text afterwards.
Inline, no tail, and set text | Some text before. {{Codifiednavbar|Specialist lea type descr|notail=1|nodiv=1|text=text naming codified data}} Some text afterwards. | Some text before. | Some text afterwards.
No head, and no tail | Some text before. {{Codifiednavbar|Specialist lea type descr|plain=1}} Some text afterwards. | Some text before. | Some text afterwards.
Inline, no tail, and set text | Some text before. {{Codifiednavbar|Specialist lea type descr|plain=1|nodiv=1|text=text naming codified data}} Some text afterwards. | Some text before. | Some text afterwards.
Mini | ||
Mini version | Some text before. {{Codifiednavbar|Specialist lea type descr|mini=1}} Some text afterwards. | Some text before. | Some text afterwards.
Mini version inline | Some text before. {{Codifiednavbar|Specialist lea type descr|mini=1|nodiv=1}} Some text afterwards. | Some text before. | Some text afterwards.
View only | ||
No head, no tail, view only | Some text before. {{Codifiednavbar|Specialist lea type descr|viewplain=1}} Some text afterwards. | Some text before. | Some text afterwards.
Inline, no head, no tail, view only | Some text before. {{Codifiednavbar|Specialist lea type descr|viewplain=1|nodiv=1}} Some text afterwards. | Some text before. | Some text afterwards.
Mini, view only | Some text before. {{Codifiednavbar|Specialist lea type descr|miniv=1}} Some text afterwards. | Some text before. | Some text afterwards.
Template Parameters
തിരുത്തുകParameter | Required | Description |
---|---|---|
1 | yes | Name of the template containing the codified data. |
nohead | no | Set if head text not to be displayed. |
notail | no | Set if tail text not to be displayed. |
text | no | Text to be displayed as head text, tail text, and tool tip text. Defaults to 'this codified information. Head text is automatically given a leading capital. Tail text is automatically suffixed with a stop. |
nodiv | no | If set does not divide the displayed text into a separate paragraph. |
plain | no | If set is equivalent to setting both nohead and notail. |
viewonly | no | Set to not display talk and edit links. Only view link is displayed. |
mini | no | Set to reduce words for links view, talk, edit to the letters v, d, e. Also has the effect of setting plain or setting both nohead and notail. |
minv | no | If set is equivalent to setting both mini and viewonly. |
viewplain | no | If set is equivalent to setting both viewonly and plain. |
fontcolor | no | Sets the font color of the displayed text to the value provided. |
See also
തിരുത്തുക- {{navbar}}