Difference between revisions of "Template:SL-hCard/2.0"
Jump to navigation
Jump to search
m (d'oh) |
m (testing watermelony color scheme) |
||
Line 24: | Line 24: | ||
">{{sw.slr|resident|{{#var:Resident}}}}</div> | ">{{sw.slr|resident|{{#var:Resident}}}}</div> | ||
<div class="summary" style="margin:{{{margin4|0 0.2em}}};"> | <div class="summary" style="margin:{{{margin4|0 0.2em}}};"> | ||
{{#ifeq:{{{rezday|}}}|||{{SL-hCard/field|Born|{{{rezday}}}|{{{color1|93a9d5}}}|bolder|{{{color2|fff}}}|{{{border3width|1px}}}|{{{border3type|inset}}}|{{{color4|000}}}|{{{padding2|0.1em}}}|{{{margin5|0 0 0.2em}}}}} | {{#ifeq:{{{rezday|}}}|||{{SL-hCard/field|Born|{{{rezday}}}|{{{color1|93a9d5}}}|bolder|{{{color2|fff}}}|{{{border3width|1px}}}|{{{border3type|inset}}}|{{{color4|000}}}|{{{padding2|0.1em}}}|{{{margin5|0 0 0.2em}}}|{{{color5|transparent}}}}} | ||
}}{{#ifeq:{{{account|}}}|||{{SL-hCard/field|Account|{{{account|Resident}}}|{{{color1|93a9d5}}}|bolder|{{{color2|fff}}}|{{{border3width|1px}}}|{{{border3type|inset}}}|{{{color4|000}}}|{{{padding2|0.1em}}}|{{{margin5|0 0 0.2em}}}}} | }}{{#ifeq:{{{account|}}}|||{{SL-hCard/field|Account|{{{account|Resident}}}|{{{color1|93a9d5}}}|bolder|{{{color2|fff}}}|{{{border3width|1px}}}|{{{border3type|inset}}}|{{{color4|000}}}|{{{padding2|0.1em}}}|{{{margin5|0 0 0.2em}}}|{{{color5|transparent}}}}} | ||
}}{{#ifeq:{{{partner|}}}|||{{SL-hCard/field|Partner|{{{partner}}}|{{{color1|93a9d5}}}|bolder|{{{color2|fff}}}|{{{border3width|1px}}}|{{{border3type|inset}}}|{{{color4|000}}}|{{{padding2|0.1em}}}|{{{margin5|0 0 0.2em}}}}} | }}{{#ifeq:{{{partner|}}}|||{{SL-hCard/field|Partner|{{{partner}}}|{{{color1|93a9d5}}}|bolder|{{{color2|fff}}}|{{{border3width|1px}}}|{{{border3type|inset}}}|{{{color4|000}}}|{{{padding2|0.1em}}}|{{{margin5|0 0 0.2em}}}|{{{color5|transparent}}}}} | ||
}}{{#ifeq:{{{about|}}}|||{{SL-hCard/field|About|{{{about}}}|{{{color1|93a9d5}}}|bolder|{{{color2|fff}}}|{{{border3width|1px}}}|{{{border3type|inset}}}|{{{color4|000}}}|{{{padding2|0.1em}}}|{{{margin5|0 0 0.2em}}}}} | }}{{#ifeq:{{{about|}}}|||{{SL-hCard/field|About|{{{about}}}|{{{color1|93a9d5}}}|bolder|{{{color2|fff}}}|{{{border3width|1px}}}|{{{border3type|inset}}}|{{{color4|000}}}|{{{padding2|0.1em}}}|{{{margin5|0 0 0.2em}}}|{{{color5|transparent}}}}} | ||
}}{{#ifeq:{{{fields|}}}|||{{{fields}}}}} | }}{{#ifeq:{{{fields|}}}|||{{{fields}}}}} | ||
</div> | </div> | ||
Line 42: | Line 42: | ||
}} | }} | ||
{{SL-hCard/2.0 | {{SL-hCard/2.0 | ||
|color1=ffc0df | |||
|color2=000 | |||
|color3=ff0080 | |||
|color4=0f0 | |||
|color5=bfffc0 | |||
|name=Torley Linden | |name=Torley Linden | ||
|image=Watermelon-revolution.jpg|account=Watermelinden | |image=Watermelon-revolution.jpg|account=Watermelinden |
Revision as of 06:27, 10 March 2008
Usage
Similar to SL-hCard, but more customisable.
- The name variable is optional, it only needs specifying when on any page other than an article on the Resident, such as their wiki profile.