Template:N: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
m (adding)
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>

Revision as of 15:43, 14 May 2015

The Name (n) Template

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!

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: [[Last_Name, First_Name|First_Name Last_Name]], you can now just type this: {{n|First_Name|Last_Name}} and you will get the same link. For instance, let's try

{{n|Tenzin|Zhou}}

Tenzin Zhou

Beautiful.

Those with one name will still get one name as well:

{{n|Solok}}

Solok

If you have any questions, ask Rich