Difference between revisions of "Template:Cathead on road"

From blackwiki
Jump to navigation Jump to search
imported>Mitch Ames
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 5: Line 5:
  
 
'''Usage:'''
 
'''Usage:'''
:<tt><nowiki>{{Cathead on road|</nowiki></tt>''article for road''<tt><nowiki>}}</nowiki></tt>
+
:<kbd><nowiki>{{Cathead on road|</nowiki></kbd>''article for road''<kbd><nowiki>}}</nowiki></kbd>
 
:or
 
:or
:<tt><nowiki>{{Cathead on road}}</nowiki></tt>
+
:<kbd><nowiki>{{Cathead on road}}</nowiki></kbd>
  
  

Revision as of 06:16, 5 August 2018

Template documentation

To be used on categories about buildings, structures, and other features on a road.


Usage:

{{Cathead on road|article for road}}
or
{{Cathead on road}}


The parameter specifying the article is optional:

  • If specified, the template will produce a bold link to that article to replace {{{1}}} in the message above. If the article specified doesn't exist, plain text will be used instead of a link.
  • If not specified, the category name (without the Category: prefix) will be used instead, with a bold link produced if an article with that name exists.

To add more text afterwards, on the same line, use parameter |more=