Difference between revisions of "Template:EfreakMember"

From SpiralKnights

Jump to: navigation, search
(Steamid will be in description.)
(Added documentation.)
Line 4: Line 4:
 
<noinclude>|}
 
<noinclude>|}
  
 +
{{showhide|Example|content=
 +
{{SKWindowSortable
 +
| width = 100%
 +
| title = Members of Your Guild
 +
| body =
 +
{{SKWindow/Cell|'''Name'''}} {{SKWindow/Cell|'''Personal Description'''}} {{SKWindow/Cell|'''Rank'''}}
 +
{{EfreakMember
 +
|name=Member 1
 +
|desc=I am the Guild Master
 +
|rank=1
 +
}}
 +
{{EfreakMember
 +
|name=Special User
 +
|desc=I am a Special User
 +
|rank=0
 +
}}
 +
{{EfreakMember
 +
|name=Member 7
 +
|desc=This user is an officer
 +
|rank=2
 +
}}
 +
{{EfreakMember
 +
|name=Member 3
 +
|desc=
 +
|rank=3
 +
}}
 +
{{EfreakMember
 +
|name=Member 4
 +
|desc=
 +
|rank=4
 +
}}
 +
{{EfreakMember
 +
|name=Member 5
 +
|desc=
 +
|rank=5
 +
}}
 +
{{EfreakMember
 +
|name=Member 2
 +
|desc=
 +
|rank=5
 +
}}
 +
{{EfreakMember
 +
|name=Member 6
 +
|desc=
 +
|rank=5
 +
}}
 +
{{EfreakMember
 +
|name=Member 8
 +
|desc=
 +
|rank=5
 +
}}
 +
}}
 +
}}
 +
 +
This template is intended to be one row in a sortable table that lists the members in your guild with their ranks. One row looks like the above; for an example of the table, open the hidden division above. You need to place it inside a [[Template:SKWindowSortable]]. I recommend you place your entire table inside a showhide block unless you plan to put it on its own page, as they take up rather a lot of room. You can do this by placing <code><nowiki>{{showhide|Members|content=</nowiki></code> before the first line and an extra <code><nowiki>}}</nowiki></code> after the last line. If you do this, it will look like the hidden table above.
 +
 +
{|align="center" width="50%" style="background:none"
 +
|+'''This is the [[Template:SKWindowSortable]] header'''
 +
|
 +
<pre>
 +
{{SKWindowSortable
 +
| width = 100%
 +
| title = Members of Dragon Army
 +
| body =
 +
{{SKWindow/Cell|'''Name'''}} {{SKWindow/Cell|'''Personal Description'''}} {{SKWindow/Cell|'''Rank'''}}
 +
</pre>
  
 
{|align="center" width="50%" style="background:none"
 
{|align="center" width="50%" style="background:none"
Line 15: Line 81:
 
}}</pre>
 
}}</pre>
 
|}</noinclude>
 
|}</noinclude>
 +
 +
{|align="center" width="50%" style="background:none"
 +
|+'''This is the [[Template:SKWindowSortable]] footer'''
 +
|
 +
<pre>
 +
}}
 +
</pre>

Revision as of 02:14, 24 November 2011

|-

UnNamed This person does not have a description

Recruit

This template is intended to be one row in a sortable table that lists the members in your guild with their ranks. One row looks like the above; for an example of the table, open the hidden division above. You need to place it inside a Template:SKWindowSortable. I recommend you place your entire table inside a showhide block unless you plan to put it on its own page, as they take up rather a lot of room. You can do this by placing {{showhide|Members|content= before the first line and an extra }} after the last line. If you do this, it will look like the hidden table above.

This is the Template:SKWindowSortable header
{{SKWindowSortable
| width = 100%
| title = Members of Dragon Army
| body = 
{{SKWindow/Cell|'''Name'''}} {{SKWindow/Cell|'''Personal Description'''}} {{SKWindow/Cell|'''Rank'''}} 
Use the following to add a new material.
{{EfreakMember
|name=
|desc=
|rank=
}}
This is the Template:SKWindowSortable footer
}}
Personal tools