Jump to content

Template:Preference infobox: Difference between revisions

No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 13: Line 13:
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}}
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Related Traits
! style="background:#ececec; text-align:left; padding:4px;" | Related Desired Life
| style="padding:4px;" | {{#arraymap:{{{related traits|}}}|,|x|[[x]]}}
| style="padding:4px;" | {{#arraymap:{{{related desired life|}}}|,|x|[[x]]}}
|-
|-
|}
|}
[[{{PAGENAME}}]] is an [[Preference]].
[[{{PAGENAME}}]] is a [[Preference]] for your [[Zoi]] in [[inZOI]].
<div style="display:none;">
<div style="display:none;">
{{#set:Preference={{{preference|}}} }}
{{#set:Preference={{{preference|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Values={{{type|}}} }}
{{#set:Type={{{type|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Related Traits={{{related traits|}}} |+sep}}
{{#set:Related Desired Life={{{related desired life|}}} |+sep}}
</div>
</div>
[[Category:Preferences]]
[[Category:Preferences]]
Line 31: Line 31:


==Parameters==
==Parameters==
* '''preference''' - name of the Preference (e.g. Loved Life)
* '''preference''' - name of the Preference (e.g. Boxing)
* '''icon''' – Filename for the preference's icon (e.g. Loved Life icon1.png)
* '''icon''' – Filename for the preference's icon (e.g. Boxing icon1.png)
* '''type''' -  
* '''type''' -  
* '''description''' -  
* '''description''' -  
* '''related traits''' -  
* '''related desired life''' -  
==Usage==
==Usage==
<pre>
<pre>
Line 43: Line 43:
| type =  
| type =  
| description =  
| description =  
| related traits =  
| related desired life =  
}}
}}
</pre>
</pre>
Line 49: Line 49:
<pre>
<pre>
{{Preference infobox
{{Preference infobox
| preference = Family Happiness
| preference = Boxing
| icon = Family Happiness icon1.png
| icon = Boxing icon1.png
| type = Fitness
| description = ??????
| related desired life = ??????
}}
}}
</pre>
</pre>
{{Preference infobox
{{Preference infobox
| preference = Family Happiness
| preference = Boxing
| icon = Family Happiness icon1.png
| icon = Boxing icon1.png
| type = Fitness
| description = ??????
| related desired life = ??????
}}
}}
</noinclude>
</noinclude>