Template:Nrank: Difference between revisions

updating instructions for current character page naming policy
m (Protected "Template:Nrank" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(updating instructions for current character page naming policy)
 
Line 4: Line 4:
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==The Name (n) + Rank Template==
==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.
This template allows you to have a person's rank or title as part of a link to their wiki page.


Rather than having to create a link like this: <nowiki>[[Last_Name, First_Name|Rank First_Name Last_Name]]</nowiki>, you can now just type this: <nowiki>{{nrank|Rank|First_Name|Last_Name}}</nowiki> and you will get the same link. For instance, let's try <pre>{{nrank|Lieutenant|Lidia|Ivanova}}</pre>
Rather than having to create a link like this: <nowiki>[[Character Name|Rank Character Name]]</nowiki>, you can now just type this: <nowiki>{{nrank|Rank|Character Name}}</nowiki> and you will get the same link. For instance, let's try <pre>{{nrank|Lieutenant|Lidia Ivanova}}</pre>


{{nrank|Lieutenant|Lidia|Ivanova}}
{{nrank|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:
Anything including abbreviations can be a person's rank or title:


<pre>{{nrank|Dr.|Solok}}</pre>
<pre>{{nrank|Dr.|Solok}}</pre>
Line 17: Line 17:


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