Template:Nrank: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
{{nrank|Lieutenant|Lidia|Ivanova}}
{{nrank|Lieutenant|Lidia|Ivanova}}


Anything can be a person's rank or title, and it works with those with only a single name as well:
Anything including abbreviations can be a person's rank or title, and it works with those with only a single name as well:


<pre>{{nrank|Doctor|Solok}}</pre>
<pre>{{nrank|Dr.|Solok}}</pre>


{{nrank|Doctor|Solok}}
{{nrank|Dr.|Solok}}


If you have any questions, ask [[User:Rich|Rich]]
If you have any questions, ask [[User:Rich|Rich]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 23:46, 9 October 2014

The Name (n) + Rank Template

This template is a modification of the basic name template (Template:N). It will now include a person's rank or title as part of the link.

Rather than having to create a link like this: [[Last_Name, First_Name|Rank First_Name Last_Name]], you can now just type this: {{nrank|Rank|First_Name|Last_Name}} and you will get the same link. For instance, let's try

{{nrank|Lieutenant|Lidia|Ivanova}}

Lieutenant Lidia Ivanova

Anything including abbreviations can be a person's rank or title, and it works with those with only a single name as well:

{{nrank|Dr.|Solok}}

Dr. Solok

If you have any questions, ask Rich