Difference between revisions of "Template:StaffList"

From TwistedMUCK
Jump to: navigation, search
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{StaffList|
 
{{StaffList|
 +
|HEADING=Wizlist Title
 +
 
|STAFF1=Staff Name
 
|STAFF1=Staff Name
 
|IMAGE1=Icon
 
|IMAGE1=Icon
Line 66: Line 68:
 
{| style="clear: right; width: 70%; font-size: 90%; border: 1px solid #000; background:#111; box-shadow: -3px 3px 5px #000;"
 
{| style="clear: right; width: 70%; font-size: 90%; border: 1px solid #000; background:#111; box-shadow: -3px 3px 5px #000;"
 
|-
 
|-
! "text-align:center; background:#000; font-size=120%;" | '''TwistedMUCK: Ruining the Future One Day at a Time'''
+
! "text-align:center; background:#000; font-size=120%;" | '''{{{HEADING}}}'''
 
|-
 
|-
 
|
 
|

Revision as of 05:28, 16 September 2020

I created this as a means of listing all the staff members in a centralized page but I realized it could probably be repurposed in the future so I built this template. By default it checks for 8 staff members, but it's an easy enough pattern to replicate to create a longer listing. Originally this wasn't going to be a template at all but I figured setting it up this way would make it easier to edit information later without digging through code. Blanking or removing a field should hide that information.

{{StaffList|
|HEADING=Wizlist Title

|STAFF1=Staff Name
|IMAGE1=Icon
|QUOTE1=Wizlist Quote
|NAME1=Real Name (if applicable)
|DISCORD1=Discord name/number
|ABOUT1=Details

|STAFF2=Staff Name
|IMAGE2=Icon
|QUOTE2=Wizlist Quote
|NAME2=Real Name (if applicable)
|DISCORD2=Discord name/number
|ABOUT2=Details

|STAFF3=Staff Name
|IMAGE3=Icon
|QUOTE3=Wizlist Quote
|NAME3=Real Name (if applicable)
|DISCORD3=Discord name/number
|ABOUT3=Details

|STAFF4=Staff Name
|IMAGE4=Icon
|QUOTE4=Wizlist Quote
|NAME4=Real Name (if applicable)
|DISCORD4=Discord name/number
|ABOUT4=Details

|STAFF5=Staff Name
|IMAGE5=Icon
|QUOTE5=Wizlist Quote
|NAME5=Real Name (if applicable)
|DISCORD5=Discord name/number
|ABOUT5=Details

|STAFF6=Staff Name
|IMAGE6=Icon
|QUOTE6=Wizlist Quote
|NAME6=Real Name (if applicable)
|DISCORD6=Discord name/number
|ABOUT6=Details

|STAFF7=Staff Name
|IMAGE7=Icon
|QUOTE7=Wizlist Quote
|NAME7=Real Name (if applicable)
|DISCORD7=Discord name/number
|ABOUT7=Details

|STAFF8=Staff Name
|IMAGE8=Icon
|QUOTE8=Wizlist Quote
|NAME8=Real Name (if applicable)
|DISCORD8=Discord name/number
|ABOUT8=Details
|}}
{{{HEADING}}}
[[File:{{{IMAGE1}}}|100px]]
{{{STAFF1}}}
{{{ABOUT1}}}
[[File:{{{IMAGE2}}}|100px]]
{{{STAFF2}}}
{{{ABOUT2}}}
[[File:{{{IMAGE3}}}|100px]]
{{{STAFF3}}}
{{{ABOUT3}}}
[[File:{{{IMAGE4}}}|100px]]
{{{STAFF4}}}
{{{ABOUT4}}}
[[File:{{{IMAGE5}}}|100px]]
{{{STAFF5}}}
{{{ABOUT5}}}
[[File:{{{IMAGE6}}}|100px]]
{{{STAFF6}}}
{{{ABOUT6}}}
[[File:{{{IMAGE7}}}|100px]]
{{{STAFF7}}}
{{{ABOUT7}}}
[[File:{{{IMAGE8}}}|100px]]
{{{STAFF8}}}
{{{ABOUT8}}}
Personal tools