Difference between revisions of "Template:Hero of Russia"

From blackwiki
Jump to navigation Jump to search
imported>The Evil IP address
(update image syntax)
Line 1: Line 1:
<includeonly><imagemap>Image:Hero of the Russian Federation medal.png|20px|Hero of the Russian Federation
+
<includeonly>[[File:Hero of the Russian Federation medal.png|20px|link=Hero of the Russian Federation]]  
default [[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>
desc none</imagemap>{{#if: {{{nocat|}}}||{{#ifeq:{{NAMESPACE}}||[[Category:Heroes of the Russian Federation]]}}}}</includeonly><noinclude>{{doc}}[[Category:Russian awards templates]][[ja:Template:Hero of Russia]][[ru:Шаблон:Медаль Золотая Звезда (Россия)]]</noinclude>
 

Revision as of 17:05, 1 September 2011

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

ja:Template:Hero of Russiaru:Шаблон:Медаль Золотая Звезда (Россия)