24,070
edits
m (changed to lowercase) |
(added single name support) |
||
Line 1: | Line 1: | ||
<includeonly>[[{{{2}}}, {{{1}}}|{{{1}}} {{{2}}}]]</includeonly><noinclude> | <includeonly>{{#if: {{{2|}}} | ||
|[[{{{2}}}, {{{1}}}|{{{1}}} {{{2}}}]] | |||
|[[{{{1}}}]] | |||
}}</includeonly><noinclude> | |||
==The Name (n) Template== | ==The Name (n) Template== | ||
This template simplifies the process of creating a wiki link for an officer with both a first name and a last name. Rather then have to create a link like this: <nowiki>[[Last_Name, First_Name|First_Name Last_Name]]</nowiki>, you can now just type this: <nowiki>{{n|First_Name|Last_Name}}</nowiki> and you will get the same link. For instance, let's try < | This template simplifies the process of creating a wiki link for an officer with both a first name and a last name. Rather then have to create a link like this: <nowiki>[[Last_Name, First_Name|First_Name Last_Name]]</nowiki>, you can now just type this: <nowiki>{{n|First_Name|Last_Name}}</nowiki> and you will get the same link. For instance, let's try <pre>{{n|Tenzin|Zhou}}</pre>: | ||
{{n|Tenzin|Zhou}} | {{n|Tenzin|Zhou}} | ||
Beautiful. If you have any questions, ask [[User:TZhou|Rich]] | Beautiful. | ||
Those with one name will still get one name as well: | |||
<pre>{{n|Solok}}</pre> | |||
{{n|Solok}} | |||
If you have any questions, ask [[User:TZhou|Rich]] | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |