Difference between revisions of "Template:SL-hCard/2.0"

From Second Life Wiki
Jump to navigation Jump to search
m (testing)
(Undo revision 63136 by Kuraiko Yoshikawa (Talk))
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:color1|{{{color1|#93a9d5}}}}}{{#vardefine:color2|{{{color2|#fff}}}}}{{#vardefine:color3|{{{color3|#3e3e3e}}}}}{{#vardefine:color4|{{{color4|<nowiki>#000</nowiki>}}}}}{{#vardefine:Resident|{{{name|{{PAGENAME}}}}}}}
<includeonly>{{#vardefine:Resident|{{{name|{{PAGENAME}}}}}}}<div class="hreview" style="
{{#var:color4}}
width:{{{width|25em}}};
<div class="hreview" style="
text-align:{{{textalign1|left}}};
width:25em;
font-size:{{{fontsize1|95%}}};
text-align: left;
float:{{{float1|right}}};
font-size: 95% ;
border:{{{border1width|1px}}} {{{border2type|outset}}} #{{{color4|000}}};
float: right;
background:#{{{color3|3e3e3e}}};
border:1px outset {{#var:color4}};
color:{{{color2|fff}}};
background:{{#var:color3}};
font-weight:{{{fontweight1|normal}}};
color:{{#var:color2}};
margin:{{{margin1|0 0 0 1em}}};"
margin-left: 1em ;"
><div class="vcard" style="margin:{{{margin2|0.1em}}};">
><div class="vcard">
<div style="
<div style="color:{{#var:color1}};font-size:140%;">Profile</div>
color:#{{{color1|93a9d5}}};
<div class="photo" style="text-align:center;">{{{image|}}}</div>
font-size:{{{fontsize2|140%}}};
margin:{{{margin3|0 0 0.5em}}};"
>Profile</div>{{#ifeq:{{{image|}}}|||
<div class="photo" style="text-align:{{{textalignimg|center}}};">[[Image:{{{image|}}}|{{{image_width|250px}}}|]]</div>}}
<div class="fn item" style="
<div class="fn item" style="
text-align:center;
text-align:{{{textalign2|center}}};
font-size: 120%;
font-size: {{{fontsize3|120%}}};
font-weight: bolder ;
font-weight: {{{fontweight2|bolder}}};
border-bottom: 1px solid {{#var:color4}} ;
border-bottom:{{{border2width|1px}}} {{{border2type|solid}}} #{{{color4|000}}};
padding: 0.2em ;
padding:{{{padding1|0.2em}}};
">{{sw.slr|resident|{{#var:Resident}}}}</div>
">{{sw.slr|resident|{{#var:Resident}}}}</div>
<div class="summary">
<div class="summary" style="margin:{{{margin4|0 0.2em}}};">
<div style="color:{{#var:color1}};font-weight:bold;">Born:</div>
{{#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}}}}}
<div style="border:1px inset {{#var:color4}};padding:0.1em;margin-left:0;">{{{rezday|&nbsp;}}}</div>
}}{{#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}}}}}
<div style="color:{{#var:color1}};font-weight:bold;">Account:</div>
}}{{#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}}}}}
<div style="border:1px inset {{#var:color4}};padding:0.1em;margin-left:0;">{{{account|&nbsp;}}}</div>
}}{{#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}}}}}
<div style="color:{{#var:color1}};font-weight:bold;">Partner:</div>
}}{{#ifeq:{{{fields|}}}|||{{{fields}}}}}
<div style="border:1px inset {{#var:color4}};padding:0.1em;margin-left:0;">{{{partner|&nbsp;}}}</div>
<div style="color:{{#var:color1}};font-weight:bold;">About:</div>
<div style="border:1px inset {{#var:color4}};padding:0.1em;margin-left:0;">{{{about|&nbsp;}}}</div>
<div style="color:{{#var:color1}};font-weight:bold;">Achievements:</div>
<div style="border:1px inset {{#var:color4}};padding:0.1em;margin-left:0;">{{{achieve|&nbsp;}}}</div>
<div style="color:{{#var:color1}};font-weight:bold;">See Also:</div>
<div style="border:1px inset {{#var:color4}};padding:0.1em;margin-left:0;">{{{links|&nbsp;}}}</div>
</div>
</div>
</div></div>
</div></div></includeonly><noinclude>
</includeonly><noinclude>
== Usage ==
{{:User:SignpostMarv Martin/Template:SL-hCard/2.0
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 ==
<div style="clear:both;">
<code><pre><nowiki>
{{SL-hCard/2.0
|name=SignpostMarv Martin
|name=SignpostMarv Martin
|color4:red;
|image=SignpostMarv Martin (ArtRaged).jpg
|rezday=Sat 8th Oct 2005
|about=Demonically Possesed Albino
|fields={{SL-hCard/field|Achievements|
* created first [http://megatokyo.com MegaTokyo] fan group in SL, ''Relax, we understand j00''
* Only got suspended once (12 hours for harrasing Adam Linden)
* Became a Second Life Mentor
* Made two long term additions to Help Island
** Test Track (removed to lower the physics usage in the Help Island sims)
** Teleporter map (still there, uses instant touch-to-llSitTarget()
|links=
* http://blog.signpostmarv.name
}}
}}</nowiki></pre></code>
<code><pre><nowiki>
{{SL-hCard/2.0
|color1=ff0080
|color2=000
|color3=ffc0df
|color4=0f0
|color5=bfffc0
|name=Torley Linden
|image=Watermelon-revolution.jpg|account=Watermelinden
|rezday=15th Sep 2004
|about=*READ THIS FIRST* before clicking the buttons below! :)
&lt;nowiki&gt;     &lt;/nowiki&gt;» 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!
&lt;nowiki&gt;    &lt;/nowiki&gt;» torley.com/vidtuts
}}</nowiki></pre></code>
</div>
{{SL-hCard/2.0
|name=SignpostMarv Martin
|image=SignpostMarv Martin (ArtRaged).jpg
|rezday=Sat 8th Oct 2005
|about=Demonically Possesed Albino
|fields={{SL-hCard/field|Achievements|
* created first [http://megatokyo.com MegaTokyo] fan group in SL, ''Relax, we understand j00''
* Only got suspended once (12 hours for harrasing Adam Linden)
* Became a Second Life Mentor
* Made two long term additions to Help Island
** Test Track (removed to lower the physics usage in the Help Island sims)
** Teleporter map (still there, uses instant touch-to-llSitTarget()
|links=
* http://blog.signpostmarv.name
}}
}}
{{SL-hCard/2.0
|color1=ff0080
|color2=000
|color3=ffc0df
|color4=0f0
|color5=bfffc0
|name=Torley Linden
|image=Watermelon-revolution.jpg|account=Watermelinden
|rezday=15th Sep 2004
|about=*READ THIS FIRST* before clicking the buttons below! :)
<nowiki>    </nowiki>» 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!
<nowiki>    </nowiki>» torley.com/vidtuts
}}
}}
</noinclude>
</noinclude>

Latest revision as of 10:43, 12 April 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

{{SL-hCard/2.0
|name=SignpostMarv Martin
|image=SignpostMarv Martin (ArtRaged).jpg
|rezday=Sat 8th Oct 2005
|about=Demonically Possesed Albino
|fields={{SL-hCard/field|Achievements|
* created first [http://megatokyo.com MegaTokyo] fan group in SL, ''Relax, we understand j00''
* Only got suspended once (12 hours for harrasing Adam Linden)
* Became a Second Life Mentor
* Made two long term additions to Help Island
** Test Track (removed to lower the physics usage in the Help Island sims)
** Teleporter map (still there, uses instant touch-to-llSitTarget()
|links=
* http://blog.signpostmarv.name
}}
}}
{{SL-hCard/2.0
|color1=ff0080
|color2=000
|color3=ffc0df
|color4=0f0
|color5=bfffc0
|name=Torley Linden
|image=Watermelon-revolution.jpg|account=Watermelinden
|rezday=15th Sep 2004
|about=*READ THIS FIRST* before clicking the buttons below! :)
<nowiki>     </nowiki>» 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!
<nowiki>     </nowiki>» torley.com/vidtuts
}}
Profile
SignpostMarv Martin (ArtRaged).jpg
Born:
Sat 8th Oct 2005
About:
Demonically Possesed Albino
Achievements:
  • created first MegaTokyo fan group in SL, Relax, we understand j00
  • Only got suspended once (12 hours for harrasing Adam Linden)
  • Became a Second Life Mentor
  • Made two long term additions to Help Island
    • Test Track (removed to lower the physics usage in the Help Island sims)
    • Teleporter map (still there, uses instant touch-to-llSitTarget()
Profile
Watermelon-revolution.jpg
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