Template:Family: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>Random Ranaun
(Undid revision 60049 by Random Ranaun (Talk))
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)))
 
(32 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<noinclude>''When changing a page to use this template, note that the parameters "listgames" is now "games" and "images" is now "gallery".''</noinclude>
<noinclude>{{Info||This template is currently being phased out in favor of {{tl|Infobox family}}. Please use that template instead.}}</noinclude>{{FamilyInfobox
|family = {{{family<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>}}}
|-
{{#if:{{{neighbor<includeonly>|</includeonly>}}} |
|economicstatus = {{{economicstatus<includeonly>|</includeonly>}}}
|connect = {{{connect<includeonly>|</includeonly>}}}
{{!}} valign="top" style="text-align:left;" {{!}} '''Neighborhood'''
{{!}}{{{neighbor}}}
|neighbor = {{{neighbor<includeonly>|</includeonly>}}}
|games = {{{games<includeonly>|</includeonly>}}}
{{!}}-
|difficulty = {{{difficulty<includeonly>|</includeonly>}}}
|download = {{{download<includeonly>|</includeonly>}}}
}}
}}
{{#if:{{{members<includeonly>|</includeonly>}}} |
{{#if: {{{description<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>}}}
}}
{{#if:{{{connect<includeonly>|</includeonly>}}} |
|gallery = {{{gallery<includeonly>|</includeonly>}}}
}}<noinclude>{{Documentation}}[[Category:Outdated 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}}} |

== 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] -->

Latest revision as of 15:36, 10 March 2019

Information
This template is currently being phased out in favor of {{Infobox family}}. Please use that template instead.
{{{image}}}
Description
{{{caption}}}
Members {{{members}}}
Number of generations {{{generations}}} generations
Family connections {{{connect}}}
Difficulty level [[File:Difficulty{{{difficulty}}}.png|{{{difficulty}}} of 6]]
Other Information
Neighborhood

{{{description}}}

Onomatology

{{{etymology}}}

Family tree

{{{tree}}}

Members

{{{listmembers}}}

Gallery

{{{gallery}}}

Template documentation (View · Edit · History · Purge)
Description
The {{FamilyInfobox}} and {{FamilyPage}} combined. Adds a description parameter. Additional parameters are difficulty and download. If the family appears in several games, use the templates separately, more information can be found at Template:FamilyInfobox.
Syntax
{{Family|<...>}}
{{Family
|image       = 
|caption     = 
|members     = 
|connect     = 
|neighbor    = 
|description = 
|games       = 
|etymology   = 
|tree        = <pre></pre>
|listmembers = 
|gallery     = <gallery></gallery>
}}

Examples


Visit Template:Family/doc to edit this text! (How does this work?) (Refresh this text - why?)