Difference between revisions of "User:Andycro/Sandbox/Rank"

From eRepublik Official Wiki
Jump to: navigation, search
(Created page with "<includeonly>[[File:{{User:Andycro/Sandbox/Rank/Switch|{{{1|}}}}}|20px]] Private}}}}}}}}</includeonly><noinclude> Th...")
 
Line 1: Line 1:
<includeonly>[[File:{{User:Andycro/Sandbox/Rank/Switch|{{{1|}}}}}|20px]]&nbsp;[[Military rank|{{{2|{{#ifeq:{{{1|}}}||Private|{{{1|Private}}}}}}}}]]</includeonly><noinclude>
+
<includeonly>[[File:{{User:Andycro/Sandbox/Rank/Switch|{{{1|}}}}}|20px]]&nbsp;[[Military rank|{{{2|{{#ifeq:{{{1|}}}||Private|{{{1|Private}}}}}}}}]]</includeonly>
This is a simple '''rank template''', which can be used similarly to [[Template:SmFlag]].
+
 
+
== Usage ==
+
Writing "<nowiki>{{Rank|Recruit}}</nowiki>" will produce "{{Rank|Recruit}}". All of the links this template produces will point to the [[Military rank]] page.
+
 
+
Ranks with stars can be added by writing "<nowiki>{{Rank|Field Marshal**}}</nowiki>", which will produce "{{Rank|Field Marshal**}}"
+
 
+
If the rank icon isn't found, an icon of Private will be shown. Please check the name of the rank in case this happens (list of ranks can be found [[Military rank|here]]).
+
 
+
=== How to use [[One:Military rank|version 1 military ranks]]? ===
+
If you want to use military ranks from Version 1, you must put "V1" prefix before the rank name (if the name isn't right, it will default to current private icon).
+
 
+
<nowiki>{{Rank|V1 Private}}</nowiki> will produce "{{Rank|V1 Private}}".
+
 
+
 
+
</noinclude>
+

Revision as of 19:19, 17 April 2015