Difference between revisions of "Template:Example"

From The Coppermind
Jump to navigation Jump to search
m (Sync with {{character}} and strip out some category magic)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{infobox
 
{{infobox
 
|id=example
 
|id=example
|title={{#if:{{{unnamed|}}}|''Unknown''|{{{name|{{PAGENAME}}}}}|}}<!--
+
|title={{{name}}}
 
|1=
 
-->|1=
 
 
{{#if:{{{image|}}} |{{row/image+artist| {{{image}}} }}|}}
 
{{#if:{{{image|}}} |{{row/image+artist| {{{image}}} }}|}}
   
Line 17: Line 16:
 
|merge = {{{merge-family|}}}
 
|merge = {{{merge-family|}}}
 
|family = {{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}}
 
|family = {{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}}
|ancestors = {{{ancestors|}}}
 
|parents = {{{parents|}}}
 
|siblings = {{{siblings|}}}
 
 
|spouse = {{{spouse|}}}
 
|spouse = {{{spouse|}}}
 
|children = {{{children|}}}
 
|children = {{{children|}}}
 
|parents = {{{parents|}}}
 
|siblings = {{{siblings|}}}
 
|relatives = {{{relatives|}}}
 
|relatives = {{{relatives|}}}
 
|ancestors = {{{ancestors|}}}
 
|descendants = {{{descendants|}}}
 
|descendants = {{{descendants|}}}
 
}}<!-- make family-only a row -->
 
}}<!-- make family-only a row -->
|{{#if:{{{family|}}} |{{row/kv|Family |{{{family}}} }}|}}
+
|{{#if:{{{family|}}} |{{row/kv|Family |{{{family}}} }}|}}
 
}}
 
}}
   
 
<!-- life -->
 
<!-- life -->
{{#if:{{{born|}}} |{{row/kv|Born |{{{born}}} }}|}}
+
{{#if:{{{born|}}} |{{row/kv|Born |{{{born}}} }}|}}
{{#if:{{{died|}}} |{{row/kv|Died |{{{died}}}
+
{{#if:{{{died|}}} |{{row/kv|Died |{{{died}}} }}|}}
}}|}}
 
   
 
<!--about -->
 
<!--about -->
{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}}
+
{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}}
{{#if:{{{titles|}}} |{{row/kv|Titles |{{{titles}}} }}|}}
+
{{#if:{{{bonded|}}} |{{row/kv|Bonded With |{{{bonded}}} }}|}}
{{#if:{{{aliases|}}} |{{row/kv|Aliases |{{{aliases}}} }}|}}
+
{{#if:{{{titles|}}} |{{row/kv|Titles |{{{titles}}} }}|}}
{{#if:{{{skills|}}} |{{row/kv|Skills |{{{skills}}} }}|}}
+
{{#if:{{{aliases|}}} |{{row/kv|Aliases |{{{aliases}}} }}|}}
{{#if:{{{achievements|}}} |{{row/kv|Achievements|{{{achievements}}} }}|}}
+
{{#if:{{{skills|}}} |{{row/kv|Skills |{{{skills}}} }}|}}
{{#if:{{{powers|}}} |{{row/kv|Powers |{{{powers}}} }}|}}
+
{{#if:{{{achievements|}}} |{{row/kv|Achievements|{{{achievements}}} }}|}}
{{#if:{{{profession|}}} |{{row/kv|Profession |{{{profession}}} }}|}}
+
{{#if:{{{powers|}}} |{{row/kv|Powers |{{{powers}}} }}|}}
{{#if:{{{occupation|}}} |{{row/kv|Profession |{{{occupation}}} }}|}}
+
{{#if:{{{profession|}}} |{{row/kv|Profession |{{{profession}}} }}|}}
{{#if:{{{religion|}}} |{{row/kv|Religion |{{{religion}}} }}|}}
+
{{#if:{{{occupation|}}} |{{row/kv|Profession |{{{occupation}}} }}|}}
{{#if:{{{groups|}}} |{{row/kv|Groups |{{{groups}}} }}|}}
+
{{#if:{{{religion|}}} |{{row/kv|Religion |{{{religion}}} }}|}}
{{#if:{{{form|}}} |{{row/kv|Form |{{{form}}} }}|}}
+
{{#if:{{{groups|}}} |{{row/kv|Groups |{{{groups}}} }}|}}
  +
 
{{#if:{{{species|}}} |{{row/kv|Species |[[{{{species}}}]]<!-- -->{{{species-ref|}}} }}|}}
 
{{#if:{{{'species|}}} |{{row/kv|Species |{{{'species}}}<!-- -->{{{species-ref|}}} }}|}}
  +
 
{{#if:{{{era|}}} |{{row/kv|Era |[[{{{era}}}]]{{era/{{{era}}}|}} }}|}}
   
 
<!-- location -->
 
<!-- location -->
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Ethnicity |{{{ethnicity-raw}}} {{raw/ethnicity}} }}|}}
+
{{#if:{{{birthplace|}}} |{{row/kv|Birthplace |[[{{{birthplace}}}]]<!-- -->{{{birthplace-ref|}}} }}|}}
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{demonym tag|{{{ethnicity}}}|}} }}|}}
+
{{#if:{{{'birthplace|}}} |{{row/kv|Birthplace |{{{'birthplace}}}<!-- -->{{{birthplace-ref|}}} }}|}}
{{#if:{{{nation-raw|}}} |{{row/kv|Nationality |{{{nation-raw}}} {{raw/nation}} }}|}}
 
{{#if:{{{nation|}}} |{{row/kv|Nationality |{{demonym tag|{{{nation}}}|}} }}|}}
 
{{#if:{{{nationality|}}} |{{row/kv|Nationality |{{demonym tag|{{{nationality}}}|}} }}|}}
 
{{#if:{{{birthplace-raw|}}} |{{row/kv|Birthplace |{{{birthplace-raw}}} {{raw/birthplace}} }}|}}
 
{{#if:{{{birthplace|}}} |{{row/kv|Birthplace |{{toponym tag|{{{birthplace}}}|}} }}|}}
 
{{#if:{{{residence-raw|}}} |{{row/kv|Residence |{{{residence-raw}}} {{raw/residence}} }}|}}
 
{{#if:{{{residence|}}} |{{row/kv|Residence |{{toponym tag|{{{residence}}}|}} }}|}}
 
   
{{#if:{{{earth|}}} |{{row/kv|World |{{earth tag|earth={{{earth}}}|cat={{{earth}}} characters}} }}
+
{{#if:{{{residence|}}} |{{row/kv|Residence |[[{{{residence}}}]]<!-- -->{{{residence-ref|}}} }}|}}
|{{#if:{{{world-raw|}}} |{{row/kv|World |{{{world-raw}}} {{raw/world}} }}
+
{{#if:{{{'residence|}}} |{{row/kv|Residence |{{{'residence}}}<!-- -->{{{residence-ref|}}} }}|}}
|{{#if:{{{world|}}} |{{row/kv|World |{{toponym tag|{{{world}}}|}} }}
 
|{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} }}
 
<!-- ELSE -->|{{row/kv|World |''Unknown'' }}<!--
 
END IFs-->}}|}}|}}|}}
 
   
<!-- featured in -->{{row/kv|Featured In |''{{{books}}}'' }}
+
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |[[{{{ethnicity}}}]]<!-- -->{{{ethnicity-ref|}}} }}|}}
 
{{#if:{{{'ethnicity|}}} |{{row/kv|Ethnicity |{{{'ethnicity}}}<!-- -->{{{ethnicity-ref|}}} }}|}}
   
}}<includeonly><!--
 
   
-->{{#if:{{{name|}}}|{{DEFAULTSORT:{{{name}}}|}}|}}<!--
+
{{#if:{{{nation|}}} |{{row/kv|Nationality |[[{{{nation}}}]]<!-- -->{{{nationality-ref|}}} }}|}}
 
{{#if:{{{'nation|}}} |{{row/kv|Nationality |{{{'nation}}}<!-- -->{{{nationality-ref|}}} }}|}}
   
  +
{{#if:{{{earth|}}} |{{row/kv|Homeworld |[[Earth {{{earth}}}]]<!-- -->{{{earth-ref|}}} }}
-->{{#if:<!--
 
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
+
|{{#if:{{{world|}}} |{{row/kv|Homeworld |[[{{{world}}}]]<!-- -->{{{world-ref|}}} }}
 
|{{#if:{{{'world|}}} |{{row/kv|Homeworld |{{{'world}}}<!-- -->{{{world-ref|}}} }}
-->||<!--
 
-->}}<!--
 
   
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
+
|{{#if:{{{hide-world|}}} |<!-- don't show a world row -->
 
<!-- ELSE -->|{{row/kv|Homeworld |''Unknown'' }}<!--
 
END IFs-->}}|}}|}}|}}
   
 
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}}
--><!--
 
 
{{#if:{{{introduced|}}} |{{row/kv| Introduced In | ''{{{introduced}}}''<!-- -->}}|}}
   
--></includeonly><noinclude>
+
}}<noinclude>
   
 
This template is used for example purposes only. It is a copy of the {{t|character}} template with all automatic category tags removed}}.
 
This template is used for example purposes only. It is a copy of the {{t|character}} template with all automatic category tags removed}}.

Latest revision as of 21:19, 12 June 2024

{{{name}}}
Homeworld Unknown

This template is used for example purposes only. It is a copy of the {{character}} template with all automatic category tags removed}}.