Difference between revisions of "User:SignpostMarv Martin/Sandbox/Template:Office Hours"

From Second Life Wiki
Jump to navigation Jump to search
(cloning template for dev purposes)
 
m (re-arranging stuff)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{ #if:{{{topics|}}}|<div class="summary">
<includeonly>{{#ifeq:{{#var:Office_Hours_Render_Mode}}|tr|{{!}}-style="vertical-align:top;"
{{!}}{{{Resident|No Resident specified|}}}
{{!}}{{{times|no times specified}}}
{{!}}
{{{topics|No metadata specified}}}
{{!}}{{{location|no location specified}}}|{{#if:{{{topics|}}}|<div class="summary">
{{{topics}}}
{{{topics}}}
</div>|}}
</div>|}}
Line 7: Line 12:
{{ #if:{{{location|}}}|<div class="location">
{{ #if:{{{location|}}}|<div class="location">
{{{location}}}
{{{location}}}
</div>|}}{{ #ifeq:{{NAMESPACE}}|User|{{ #ifeq:{{SUBPAGENAME}}|Office Hours|[[Category:Office Hours|{{{Resident}}}]]|{{ #ifeq:{{SUBPAGENAME}}|Teen Office Hours|[[Category:Teen Office Hours|{{{Resident}}}]]|}}}}|}}</includeonly><noinclude>
</div>|}}}}{{ #ifeq:{{NAMESPACE}}|User|{{ #ifeq:{{SUBPAGENAME}}|Office Hours|[[Category:Office Hours|{{{Resident}}}]]|{{ #ifeq:{{SUBPAGENAME}}|Teen Office Hours|[[Category:Teen Office Hours|{{{Resident}}}]]|}}}}|}}</includeonly><noinclude>
== Productivity ==
{{#vardefine:Office_Hours_Render_Mode|tr}}
[[Template:Office Hours]], [[Template:Office Hours/include]] and [[Template:Office Hours/teen-include]] were created in order to improve productivity amongst Lindens & Residents who hold in-world office hours.
{|cellspacing="0" border="1" class="sortable"
! Resident
! Times
! Topics/Metadata
! Location


I noticed that Office Hours were being listed in multiple places ([[Office Hours]] and the Lindens' User-pages), and as any developer knows, duplication of data is bad.
{{User:SignpostMarv Martin/Sandbox/Template:Office Hours
 
[[User:SignpostMarv Martin|SignpostMarv Martin]] 04:39, 6 August 2007 (PDT)
 
== Setting up your Office Hours ==
See [[#Usage|usage]] for how to use the '''Office Hours''' template.
 
=== Main Grid ===
Create an article named '''Office Hours''' in your user space, e.g. [[User:Blue Linden/Office Hours]]
 
=== Teen Grid ===
Create an article named '''Teen Office Hours in your user space, e.g. [[User:Blue Linden/Teen Office Hours]]
 
== Displaying your Office Hours ==
=== Main Grid ===
<nowiki>{{Office Hours/include|First Last}}</nowiki>, e.g. <nowiki>{{Office Hours/include|Blue Linden}}</nowiki>
 
=== Teen Grid ===
<nowiki>{{Office Hours/teen-include|First Last}}</nowiki>, e.g. <nowiki>{{Office Hours/teen-include|Blue Linden}}</nowiki>
 
 
== Usage ==
<nowiki>{{Office Hours
|Resident=SignpostMarv Martin
|location=nowhere in particular
|times=* no time in particular
|topics=*no topics in particular
|}}</nowiki>
{{:User:SignpostMarv Martin/Template:Office Hours
|Resident=SignpostMarv Martin
|Resident=SignpostMarv Martin
|location=nowhere in particular
|location={{SLurl/simple|Lanercost|18|7|29|Lanercost, SLOpenID Central}}
|times=* no time in particular
|topics=* Eventful-esque
|topics=*no topics in particular
* [http://slopenid.net/ SLOpenID]
* [http://forum.slbirthday.info SL Birthday Events]
* [http://wiki.signpostmarv.name/Category:Marvulous Marvulous Inc.]
|times=Sundays, 11am SLT — 1pm SLT
|}}
|}}
[[Category:Office Hours|Office Hours]]
|}
[[Category:Teen Office Hours|Teen Office Hours]]
</noinclude>
</noinclude>

Latest revision as of 04:22, 16 September 2007


Resident Times Topics/Metadata Location
SignpostMarv Martin Sundays, 11am SLT — 1pm SLT Lanercost, SLOpenID Central🖈