Difference between revisions of "Template:SL-hCard/2.0"
Jump to navigation
Jump to search
m (css-fu) |
(example-fu) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:Resident|{{{name|{{PAGENAME}}}}}}} | <includeonly>{{#vardefine:Resident|{{{name|{{PAGENAME}}}}}}}<div class="hreview" style=" | ||
<div class="hreview" style=" | |||
width:{{{width|25em}}}; | width:{{{width|25em}}}; | ||
text-align:{{{textalign1|left}}}; | text-align:{{{textalign1|left}}}; | ||
Line 24: | Line 23: | ||
padding:{{{padding1|0.2em}}}; | padding:{{{padding1|0.2em}}}; | ||
">{{sw.slr|resident|{{#var:Resident}}}}</div> | ">{{sw.slr|resident|{{#var:Resident}}}}</div> | ||
<div class="summary" style="margin:{{{margin4|0 0. | <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}}}}} | ||
}}{{#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}}}}} | ||
Line 31: | Line 30: | ||
}}{{#ifeq:{{{fields|}}}|||{{{fields}}}}} | }}{{#ifeq:{{{fields|}}}|||{{{fields}}}}} | ||
</div> | </div> | ||
</div></div> | </div></div></includeonly><noinclude> | ||
</includeonly><noinclude> | == Usage == | ||
Similar to [[Template:SL-hCard|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. | |||
== Examples == | |||
{{SL-hCard/2.0 | |||
|name=SignpostMarv Martin | |name=SignpostMarv Martin | ||
|image=Image:SignpostMarv Martin (ArtRaged).jpg | |image=Image:SignpostMarv Martin (ArtRaged).jpg | ||
|rezday=Sat 8th Oct 2005 | |rezday=Sat 8th Oct 2005 | ||
|about=Demonically Possesed Albino | |about=Demonically Possesed Albino | ||
}} | }} | ||
{{SL-hCard/2.0 | |||
|name=Torley Linden | |||
|image=Watermelon-revolution.jpg | |||
|account=Watermelinden | |||
|rezday=15th Sep 2004 | |||
|about=*READ THIS FIRST* before clicking the buttons below! :) | |||
» torley.com/info | |||
Pardon, I *don't reply to* IMs/notecards and don't accept friendships because I'm working. | |||
Learn & laugh — watch Second Life Video Tutorials! | |||
» torley.com/vidtuts | |||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 06:16, 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.
Examples
Profile
Born:
15th Sep 2004
Account:
Watermelinden
About:
*READ THIS FIRST* before clicking the buttons below! :)
» torley.com/info
Pardon, I *don't reply to* IMs/notecards and don't accept friendships because I'm working.
Learn & laugh — watch Second Life Video Tutorials!
» torley.com/vidtuts