Template:Family: Difference between revisions

m
Protected "Template:Family" ([Edit=Allow only autoconfirmed and confirmed users] (indefinite) [Move=Allow only autoconfirmed and confirmed users] (indefinite) [Delete=Allow only autoconfirmed and confirmed users] (indefinite))
sims>A morris
(restoring a_morris's last version)
m (Protected "Template:Family" ([Edit=Allow only autoconfirmed and confirmed users] (indefinite) [Move=Allow only autoconfirmed and confirmed users] (indefinite) [Delete=Allow only autoconfirmed and confirmed users] (indefinite)))
 
(31 intermediate revisions by 11 users not shown)
Line 1:
<noinclude>''When{{Info||This changingtemplate ais pagecurrently tobeing usephased thisout template,in notefavor thatof the{{tl|Infobox parametersfamily}}. "listgames"Please isuse nowthat "games" and "images" is nowtemplate "gallery"instead.''}}</noinclude>{{FamilyInfobox
|family = {{#if:{{{gamesfamily<includeonly>|{{PAGENAME}}</includeonly>}}} |
{| style="margin-left:5px; float:right; width:264px; font-size:94%; text-align:left; border:1px solid #007FFF; -moz-border-radius:10px;" cellpadding="0"
|image = {{{image<includeonly>|</includeonly>}}}
! colspan="2" style="font-size:110%; text-align:center;" | {{#if:{{{family|}}}|{{{family}}}|{{PAGENAME}}}}
|caption = {{{caption<includeonly>|</includeonly>}}}
|-
|members = {{{members<includeonly>|</includeonly>}}}
| colspan="2" style="text-align:center;" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this family?<br />Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
|generations = {{{generations<includeonly>|</includeonly>}}}
|-
|economicstatus = {{#if:{{{neighboreconomicstatus<includeonly>|</includeonly>}}} |
|connect = {{{connect<includeonly>|</includeonly>}}}
{{!}} valign="top" style="text-align:left;" {{!}} '''Neighborhood'''
{{!}}|neighbor = {{{neighbor<includeonly>|</includeonly>}}}
|games = {{{games<includeonly>|</includeonly>}}}
{{!}}-
|difficulty = {{{difficulty<includeonly>|</includeonly>}}}
|download = {{{download<includeonly>|</includeonly>}}}
}}
{{#if: {{{membersdescription<includeonly>|</includeonly>}}} |{{{description}}}|{{checkmns|{{fam-stub}}}}}}
{{FamilyPage
{{!}} valign="top" style="text-align:left;" {{!}} '''Members'''
|etymology = {{{etymology<includeonly>|</includeonly>}}}
{{!}}{{{members}}}
|tree = {{{tree<includeonly>|</includeonly>}}}
{{!}}-
|listmembers = {{{listmembers<includeonly>|</includeonly>}}}
}}
|gallery = {{#if:{{{connectgallery<includeonly>|</includeonly>}}} |
}}<noinclude>{{Documentation}}[[Category:InfoboxOutdated templates|{{PAGENAME}}]]</noinclude>
{{!}} valign="top" style="text-align:left;" {{!}} '''Family Connections'''
{{!}}{{{connect}}}
{{!}}-
}}
{{#if:{{{games<includeonly>|</includeonly>}}} |
{{!}} valign="top" style="text-align:left;" {{!}} '''Appearances'''
{{!}}{{{games}}}
{{!}}-
}}
 
! colspan="2" style="text-align:center;" |
----
[[{{PAGENAME}}/Player stories|Player stories]]
|}<includeonly>
{{{description|Write a description of the characters and their current storyline.}}}
{{#if:{{{etymology}}} |
 
==[[Etymology]]==
{{{etymology|}}} }}
{{#if:{{{tree}}} |
 
== Family Tree ==
{{{tree|}}} }}
{{#if:{{{listmembers}}} |
 
== Members ==
{{{listmembers|}}} }}
{{#if:{{{gallery}}} |
 
== Photo Album ==
{{{gallery|}}} }}
 
{{#ifeq:{{NAMESPACE}}| |[[Category:Premade families]]}}</includeonly>
<noinclude>
==Usage==
<pre>
{{Family
|family =
|image =
|caption =
|members =
|connect =
|neighbor =
|games =
|etymology =
|tree = &lt;pre>&lt;/pre>
|listmembers =
|gallery = &lt;gallery>&lt;/gallery>
}}
</pre>
=== Required Parameters ===
* family - name
* description - Write a description of the family and their story.
 
=== Optional Parameters ===
* image - An image of the family. Resize to 220px.
* caption
* members - The playable members of the household
* listmembers - An alphabetical list of family members, alive and deceased.
* etymology - The meaning of their family name.
* neighbor - The neighborhood they were playable in. Leave out for families that could be played in any neighborhood.
* connect - Other families they are connected to through marriage/children.
* tree - A family tree. Can be an image or ASCII chart (placed inside <nowiki><pre></pre></nowiki> tags). Images should be resized to 700px, ex. <code><nowiki>[[</nowiki>Image:''filename''|700px<nowiki>]]</nowiki></code>.
* games - A chronological list of games family members have appeared in. Leave out if they have only appeared in one game, but make sure to include it in the description.
* gallery - A list of images of family members, memorable moments, their home, etc. Multiple pictures should be shown as a "gallery". Type every Image onto a single line and enclose within <nowiki><gallery> ... </gallery></nowiki>.
 
== Examples ==
* [[Pleasant Family]]
* [[Specter Family]]
* [[Goth Family]]
* [[Ottomas Family]]
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
__NOEDITSECTION__ <!-- "NOEDITSECTION" hides the [edit] -->