Difference between revisions of "Template:Family"

From Shadowlack
Jump to navigationJump to search
(Created page with "<noinclude> This is the "Family" template. It should be called in the following format: <pre> {{Family |Race= |Origin= |Location= |Motto= }} </pre> Edit the page to see the te...")
 
m
 
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Family
 
{{Family
|Race=
+
|race=
|Origin=
+
|social_class=
|Location=
+
|origin=
|Motto=
+
|location=
 +
|motto=
 +
|icon=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
</noinclude><includeonly>{| class="infobox rounded"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
! class="heading" style="text-align: center;" colspan="2" |<big>{{PAGENAME}}</big>{{#if:{{{motto|}}}|<br /><small>''{{{motto}}}''</small> |}}
 
|-
 
|-
! Race
+
! Race:
| [[Race::{{{Race|}}}]]
+
| [[Race::{{{race|}}}]]
 
|-
 
|-
! Origin
+
! [[Social Class]]:
| {{{Origin|}}}
+
| [[Social class::{{{social_class|Working Class}}}]]
 
|-
 
|-
! Location
+
! Origin:
| {{{Location|}}}
+
| {{{origin|Unknown}}}
 
|-
 
|-
! Motto
+
! Location:
| {{{Motto|}}}
+
| [[In location::{{{location|Unknown}}}]]
|}
+
{{#if: {{{icon|}}}
 
+
|{{#!:
[[Category:Family]]
+
|-
</includeonly>
+
! Icon:
 +
| {{{icon}}}
 +
|-}} }}
 +
|-
 +
! class="heading" style="text-align: center; background-color:#ccccff;" colspan="2" | <big>Members</big>
 +
|-
 +
! Total:
 +
| {{#ask: [[Category:Characters]] [[Category:{{BASEPAGENAME}}]] | format=count }}
 +
|-
 +
! Living:
 +
| {{#ask: [[Category:Characters]] [[Category:{{BASEPAGENAME}}]] [[Character status::Living]] | format=count }}
 +
|}[[Category:Family]]</includeonly>

Latest revision as of 18:57, 16 June 2014

This is the "Family" template. It should be called in the following format:

{{Family
|race=
|social_class=
|origin=
|location=
|motto=
|icon=
}}

Edit the page to see the template text.