Difference between revisions of "Template:Office Hours"
(porting over code) |
m (bugfix) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{#var:Office_Hours_Render_Mode}}|tr|{{!}}-style="vertical-align:top;" | <includeonly>{{#ifeq:{{#var:Office_Hours_Render_Mode}}|tr|{{!}}-style="vertical-align:top;" | ||
{{!}}{{{Resident|No Resident specified|}}} | {{!}} | ||
{{!}}{{{times|no times specified}}} | {{{Resident|No Resident specified|}}} | ||
{{!}} | |||
{{{times|no times specified}}} | |||
{{!}} | {{!}} | ||
{{{topics|No metadata specified}}} | {{{topics|No metadata specified}}} | ||
{{!}}{{{location|no location specified}}}|{{#if:{{{topics|}}}|<div class="summary"> | {{!}} | ||
{{{location|no location specified}}}|{{#if:{{{topics|}}}|<div class="summary"> | |||
{{{topics}}} | {{{topics}}} | ||
</div>|}} | </div>|}} |
Revision as of 04:29, 16 September 2007
Productivity
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.
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.
SignpostMarv Martin 04:39, 6 August 2007 (PDT)
Setting up your Office Hours
See 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
{{Office Hours/include|First Last}}, e.g. {{Office Hours/include|Blue Linden}}
Teen Grid
{{Office Hours/teen-include|First Last}}, e.g. {{Office Hours/teen-include|Blue Linden}}
Usage
{{Office Hours |Resident=SignpostMarv Martin |location=nowhere in particular |times=* no time in particular |topics=*no topics in particular |}}
- no topics in particular
- no time in particular
nowhere in particular