Template:N: Difference between revisions

no edit summary
m (adding)
No edit summary
Line 5: Line 5:
===The Name (n) Template===
===The Name (n) Template===
:''Want to include a person's rank or title? Use '''[[Template:Nrank]]'''!''
:''Want to include a person's rank or title? Use '''[[Template:Nrank]]'''!''
:''Are you a Bajoran, or another species who lists family name first? Use '''[[Template:Nbaj]]'''!''
:''Want to make a link white rather than blue? Use '''[[Template:Nwhite]]'''!''
:''Want to make a link white rather than blue? Use '''[[Template:Nwhite]]'''!''
This template simplifies the process of creating a wiki link for an officer with both a first name and a last name. Rather than 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>
This template simplifies the process of creating a wiki link for an officer with both a first name and a last name. Rather than 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>
Line 13: Line 12:
Beautiful.
Beautiful.


Those with one name will still get one name as well:
Those with one name (or those written with their family name first such as the Bajorans) will work as well if treated as one name:
<pre>{{n|Solok}}</pre>
<pre>{{n|Solok}}</pre>


{{n|Solok}}
{{n|Solok}}


If you have any questions, ask [[User:TZhou|Rich]]
<pre>{{n|Anora Manar}}</pre>
 
{{n|Anora Manar}}
 
However, this is just as easily done with the normal wikilinking method (<nowiki>[[Solok]]</nowiki>) and is included more as a "hidden" feature for templates that incorporate Template:N such as [[Template:Roster]] and [[Template:Crew]].
 
If you have any questions, ask [[User:Rich|Rich]]


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>