Difference between revisions of "Template:EfreakMember"

From SpiralKnights

Jump to: navigation, search
(Added documentation. Had a bit of a mess here, as you can see. got it sorted out.)
 
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.
 
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.

Latest revision as of 02:51, 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 member.
{{EfreakMember
|name=
|desc=
|rank=
}}
This is the Template:SKWindowSortable footer
}}
Personal tools