Template:Nrank: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if: {{{3|}}} |[[{{{3}}}, {{{2}}}|{{{1}}} {{{2}}} {{{3}}}]] |[[{{{2}}}]|[[{{{1}}} {{{2}}}]] }}</includeonly><noinclude> ==The Name (n) + Rank Template== This te...")
 
(updating instructions for current character page naming policy)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{3|}}}
<includeonly>{{#if: {{{3|}}}
|[[{{{3}}}, {{{2}}}|{{{1}}} {{{2}}} {{{3}}}]]
|[[{{{3}}}, {{{2}}}|{{{1}}} {{{2}}} {{{3}}}]]
|[[{{{2}}}]|[[{{{1}}} {{{2}}}]]
|[[{{{2}}}|{{{1}}} {{{2}}}]]
}}</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 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|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>

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