Difference between revisions of "Template:NamingCustom"

From Moegirlpedia
Jump to: navigation, search
m
m
Line 2: Line 2:
 
check for "and" placement.
 
check for "and" placement.
 
family name is always listed first, so no reason to check. start with mtn.
 
family name is always listed first, so no reason to check. start with mtn.
-->{{#if:{{{mfn|}}}|{{#vardefine:mfna|, }}{{#vardefine:andlocation|mfna}}}}<!--
+
-->{{#if:{{{mfn|}}}|{{#vardefine:mfna|, t}}{{#vardefine:andlocation|mfna}}}}<!--
-->{{#if:{{{pn|}}}|{{#vardefine:pna|, }}{{#vardefine:andlocation|pna}}}}<!--
+
-->{{#if:{{{pn|}}}|{{#vardefine:pna|, t}}{{#vardefine:andlocation|pna}}}}<!--
-->{{#if:{{{mn|}}}|{{#vardefine:pna|, }}{{#vardefine:andlocation|pna}}}}<!--
+
-->{{#if:{{{mn|}}}|{{#vardefine:pna|, t}}{{#vardefine:andlocation|pna}}}}<!--
-->{{#if:{{{sn|}}}|{{#vardefine:sna|, }}{{#vardefine:andlocation|sna}}}}<!--
+
-->{{#if:{{{sn|}}}|{{#vardefine:sna|, t}}{{#vardefine:andlocation|sna}}}}<!--
 
-->{{#switch:{{#var:andlocation}}
 
-->{{#switch:{{#var:andlocation}}
     |mfna={{#vardefine:mfna|, and }}
+
     |mfna={{#vardefine:mfna|, and t}}
     |pna={{#vardefine:pna|, and }}
+
     |pna={{#vardefine:pna|, and t}}
     |mna={{#vardefine:mna|, and }}
+
     |mna={{#vardefine:mna|, and t}}
     |sna={{#vardefine:sna|, and }}}}<!--
+
     |sna={{#vardefine:sna|, and t}}}}<!--
 
end check
 
end check
--><div class="dablink" style="font-size: small;margin: 0.5em;">[[File:icon-info.png|18px]]''&nbsp;This is {{{1|a}}} {{{lang|<span style="color:red;">lang missing!</span>}}} name. {{#if:{{{fn|}}}|The family name is ''{{{fn}}}''}}{{#if:{{{mfn|}}}|{{#var:mfna}}The maternal family name is ''{{{mfn}}}''}}{{#if:{{{pn|}}}|{{#var:pna}}The patronymic is ''{{{pn}}}''}}{{#if:{{{mn|}}}|{{#var:mna}}The matronymic is ''{{{mn}}}''}}{{#if:{{{sn|}}}|{{#var:sna}}The {{{stype|span style="color:red;">stype missing!</span>}}} name is ''{{{sn}}}''}}.''
+
--><div class="dablink" style="font-size: small;margin: 0.5em;">[[File:icon-info.png|18px]]''&nbsp;This is {{{1|a}}} {{{lang|<span style="color:red;">lang missing!</span>}}} name. {{#if:{{{fn|}}}|The family name is ''{{{fn}}}''}}{{#if:{{{mfn|}}}|{{#var:mfna|T}}he maternal family name is ''{{{mfn}}}''}}{{#if:{{{pn|}}}|{{#var:pna|T}}he patronymic is ''{{{pn}}}''}}{{#if:{{{mn|}}}|{{#var:mna|T}}he matronymic is ''{{{mn}}}''}}{{#if:{{{sn|}}}|{{#var:sna|T}}he {{{stype|<span style="color:red;">stype missing!</span>}}} name is ''{{{sn}}}''}}.''
 
</div><noinclude>{{documentation}}</noinclude>
 
</div><noinclude>{{documentation}}</noinclude>

Revision as of 09:58, 26 November 2019

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

An expansion upon {{Family name}}. This template covers most possible naming customs.

Syntax

  • {{NamingCustom|lang=|note=|fn=|mfn=|pfn=|pn=|mn=|stype=|sn=}}
    • Remove unnecessary parts or leave them blank. See below for detailed explanation on each parameters.
    • If the language or naming custom starts with a vowel sound, use the following code to change the article:
    {{NamingCustom|an|lang=|note=|fn=|mfn=|pfn=|pn=|mn=|stype=|sn=}}

Examples

  • {{NamingCustom|lang=Japanese|fn=Matsumoto}}
  • {{NamingCustom|an|lang=Eastern Slavic|fn=Pushkin|pn=Sergeyevich}}
  • {{NamingCustom|lang=Spanish|fn=de Bolívar|mfn=Palacios}}
  • {{NamingCustom|lang=Traditional Manchu|note=it is customary to use only the given name|fn=Aisin Gioro|stype=given name|sn=Puyi}}