Template:Nrank: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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 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: <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>[[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>

Revision as of 23:39, 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 can be a person's rank or title, and it works with those with only a single name as well:

{{nrank|Doctor|Solok}}

Doctor Solok

If you have any questions, ask Rich