Template:Sim2/Draft: Difference between revisions

m
9 revisions imported: Import from https://sims.wikia.com
sims>C.Syde65
(I've drafted an info-box, with the help of some users with better portable experience than myself. It's still not nearly ready to be accepted yet.)
 
m (9 revisions imported: Import from https://sims.wikia.com)
 
(8 intermediate revisions by one other user not shown)
Line 1:
<infobox theme="sim2">
<title source="name"><default>{{PAGENAME}}</default></title>
<navigation>
<image source="image">
<center>{{GetGameImage|{{{game}}}|{{{neighbor}}}}}</center>
</image>
</navigation>
<image source="image"/>
<group>
<headertitle>Biography</headertitle>
<datatitle source="caption">
<format><div class="pi-biography-header">{{{caption}}}Biography</div></format>
</datatitle>
</group>
<data source="name"><label>Name</label></data>
<data source="sex"><label>Gender</label></data>
<format>{{GetGenderImage|{{{sex}}}}}{{#ifeq: {{{sex}}}|Ambiguous|[[Gender#Gender_ambiguity|Ambiguous]]|{{{sex}}}}}</format>
<data source="age"><label>Age</label></data>
</data>
<data source="state"><label>Life state</label><default>Sim</default></data>
<data source="age"><label>Age</label><format>{{GetStageImage|{{{age}}}}} {{{age}}}</format></data>
<data source="state"><label>Life state</label><format>{{GetStateImage|{{{state}}}}} {{{state}}}</format><default>{{GetStateImage|{{{state}}}}} Sim</default></data>
<group>
<header>Education and Employment</header>
<data source="school"><label>School</label></data>
<label>{{#switch:{{lc: {{{age}}}}} | young adult | adult | elder = Alma Mater | #default = School }}</label>
<format>{{GetSchoolImage|{{{school}}}}} {{{school}}}</format>
</data>
<data source="grade"><label>Grade</label></data>
<data source="major"><label>Major</label><format>{{#ifexist: File:{{{major}}}.png | [[File:{{{major}}}.png|20px]]|}} {{{major}}}</format></data>
<data source="year"><label>Year</label></data>
<data source="career"><label>Career</label><format>{{GetCareerImage|{{{career}}}}} [[{{{career}}}|{{{careerlevel}}}]]</format></data>
</group>
<data source="careerlevel"><label>Career level</label></data>
<group>
<header>{{{family}}}</header>
<data source="parents"><label>Parents</label></data>
<data source="siblings"><label>Sibling(s)</label></data>
<data source="spouse"><label>Romances</label></data>
<data source="maritalstatus"><label>Marital status</label></data>
<data source="child"><label>Child(ren)</label></data>
</group>
<group>
<header>{{{household}}}</header>
<data source="roommates"><label>Roommates</label></data>
<data source="pets"><label>Pets</label></data>
</group>
<data source="family"><label>Family</label></data>
<data source="parents"><label>Parents</label></data>
<data source="siblings"><label>Sibling(s)</label></data>
<data source="spouse"><label>Romances</label></data>
<data source="maritalstatus"><label>Marital status</label></data>
<data source="child"><label>Child(ren)</label></data>
<data source="household"><label>Household</label></data>
<data source="roommates"><label>Roommates</label></data>
<data source="pets"><label>Pets</label></data>
<group>
<header>Personality</header>
<data source="sign"><label>Zodiac sign</label><format>{{GetSignImage|{{{sign}}}}} {{{sign}}}</format></data>
<data source="asp"><label>Aspiration</label><format>{{GetAspirationImage|{{{asp}}}}} {{{asp}}}</format></data>
<data source="asp2"><label>Secondary aspiration</label><format>{{GetAspirationImage|{{{asp2}}}}} {{{asp2}}}</format></data>
<data source="want"><label>Lifetime want</label><format>{{GetWantImage|{{{want}}}}} {{{want}}}</format></data>
</group>
<group>
<header>Chemistry</header>
<data source="turnon1"><label>Turn on1</label><format>{{GetChemistryImage|{{{turnon1}}}}} {{{turnon1}}}</format></data>
<data source="turnon2"><label>Turn on2</label><format>{{GetChemistryImage|{{{turnon2}}}}} {{{turnon2}}}</format></data>
<data source="turnoff"><label>Turn off</label><format>{{GetChemistryImage|{{{turnoff}}}}} {{{turnoff}}}</format></data>
</group>
<group>
Line 53 ⟶ 63:
<group>
<header>Social Standing</header>
<data source="reputation"><label>Reputation</label><format>{{GetReputationImage|{{{reputation}}}}} {{{reputation}}}</format></data>
<data source="social"><label>Social class</label></data>
</group>
<group>
<header>Other Information</header>
<data source="game"><label>Game</label><default>{{GetGameIcon|The Sims 2}} ''The Sims 2''</default><format>{{GetGameIcon|{{{game}}}|{{{neighbor}}}}} ''{{{game}}}''</format></data>
<data source="play"><label>Playability</label></data>
<data source="cod"><label>Cause of death</label></data>
<data source="neighbor"><label>neighborhoodNeighborhood</label></data>
</group>
<header>{{Checkfns|[[#WikiaArticleComments|Write a Review!]]}}</header>
</infobox>
<noinclude>
== Usage & preview ==
Type in this:
 
<pre>
{{Sim2/Draft
|name=
|image=
|caption=
|sex=
|age=
|state=
|school=
|grade=
|major=
|year=
|career=
|careerlevel=
|family=
|parents=
|siblings=
|spouse=
|maritalstatus=
|child=
|household=
|roommates=
|pets=
|sign=
|asp=
|asp2=
|want=
|turnon1=
|turnon2=
|turnoff=
|hair=
|eye=
|skin=
|body=
|reputation=
|social=
|game=
|play=
|cod=
|neighbor=
}}
</pre>
 
to see this:
 
{{Sim2/Draft
|name=This is a test
|image=This is a test
|caption=This is a test
|sex=This is a test
|age=This is a test
|state=This is a test
|school=This is a test
|grade=This is a test
|major=This is a test
|year=This is a test
|career=This is a test
|careerlevel=This is a test
|family=This is a test
|parents=This is a test
|siblings=This is a test
|spouse=This is a test
|maritalstatus=This is a test
|child=This is a test
|household=This is a test
|roommates=This is a test
|pets=This is a test
|sign=This is a test
|asp=This is a test
|asp2=This is a test
|want=This is a test
|turnon1=This is a test
|turnon2=This is a test
|turnoff=This is a test
|hair=This is a test
|eye=This is a test
|skin=This is a test
|body=This is a test
|reputation=This is a test
|social=This is a test
|game=This is a test
|play=This is a test
|cod=This is a test
|neighbor=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Sims]]|<!--Not in Main: namespace-->}}{{#ifeq:{{NAMESPACE}}|Fanon|[[Category:Sims (fanon)]]|<!--Not in Main: namespace-->}}</includeonly>
{{#if:{{{sex<includeonly>|</includeonly>}}} |
Line 165 ⟶ 82:
<includeonly>{{GetStageCat|{{{age}}}}}</includeonly>
}}
<includeonly>{{GetStateCat|{{{state|}}} }}</includeonly>
{{#if:{{{state<includeonly>|</includeonly>}}} |
<includeonly>{{GetStateCat|state|{{{state}}} }}</includeonly>
}}
{{#if:{{{school<includeonly>|</includeonly>}}} |
<includeonly>{{GetSchoolCat|{{{school}}}}}</includeonly>