Difference between revisions of "Template:Hero of Russia"

From blackwiki
Jump to navigation Jump to search
imported>The Evil IP address
(update image syntax)
imported>YiFeiBot
m (Bot: Migrating interwiki links, now provided by Wikidata on d:q10964508)
Line 1: Line 1:
 
<includeonly>[[File:Hero of the Russian Federation medal.png|20px|link=Hero of the Russian Federation]]  
 
<includeonly>[[File:Hero of the Russian Federation medal.png|20px|link=Hero of the Russian Federation]]  
{{#if: {{{nocat|}}}||{{#ifeq:{{NAMESPACE}}||[[Category:Heroes of the Russian Federation]]}}}}</includeonly><noinclude>{{doc}}[[Category:Russian awards templates]][[ja:Template:Hero of Russia]][[ru:Шаблон:Медаль Золотая Звезда (Россия)]]</noinclude>
+
{{#if: {{{nocat|}}}||{{#ifeq:{{NAMESPACE}}||[[Category:Heroes of the Russian Federation]]}}}}</includeonly><noinclude>{{doc}}[[Category:Russian awards templates]]</noinclude>

Revision as of 08:36, 19 November 2014

Template documentation[view] [edit] [history] [purge]

The template is designed for infoboxes of the heroes of Russia.

Example

{{Infobox military person
| name          = Mr. Hero
| awards        = {{Hero of Russia}}
}}

Result

Mr. Hero
AwardsHero of the Russian Federation medal.png

Limitations

The template would put the page in the Category:Heroes of the Russian Federation. If you do not want this put the parameter nocat. Just do not forget to put the {{defaultsort}} into the article or the index would be wrong