Template:Nrank: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
(updating instructions for current character page naming policy)
 
(One intermediate revision by the same user not shown)
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>

Latest revision as of 06:02, 14 August 2016

The Name (n) + Rank Template

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: [[Character Name|Rank Character Name]], you can now just type this: {{nrank|Rank|Character 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:

{{nrank|Dr.|Solok}}

Dr. Solok

If you have any questions, ask Rich