Difference between revisions of "Template:EfreakMember"
From SpiralKnights
(added steam id) |
(Added documentation. Had a bit of a mess here, as you can see. got it sorted out.) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{SKNewRow}} <noinclude> | {{SKNewRow}} <noinclude> | ||
{|style="background:transparent;"</noinclude> | {|style="background:transparent;"</noinclude> | ||
− | {{SKCell|{{{name|UnNamed}}}}} {{SKCell|{{{desc|This person does not have a description}}}}} {{SKCell|{{EfreakMemberRanks|{{{rank|5}}}} | + | {{SKCell|{{{name|UnNamed}}}}} {{SKCell|{{{desc|This person does not have a description}}}}} {{SKCell|{{EfreakMemberRanks|{{{rank|5}}}}}}} |
<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" | {|align="center" width="50%" style="background:none" | ||
− | |+'''Use the following to add a new | + | |+'''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" | ||
+ | |+'''Use the following to add a new member.''' | ||
| | | | ||
<pre> | <pre> | ||
Line 13: | Line 79: | ||
|desc= | |desc= | ||
|rank= | |rank= | ||
− | |||
}}</pre> | }}</pre> | ||
− | |}</noinclude> | + | |} |
+ | |||
+ | {|align="center" width="50%" style="background:none" | ||
+ | |+'''This is the [[Template:SKWindowSortable]] footer''' | ||
+ | | | ||
+ | <pre> | ||
+ | }} | ||
+ | </pre> | ||
+ | </noinclude> |
Latest revision as of 02:51, 24 November 2011
|-
UnNamed | This person does not have a description |
Recruit |
Example
| ||||||||||||||||||||||||||||||
|
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.
{{SKWindowSortable | width = 100% | title = Members of Dragon Army | body = {{SKWindow/Cell|'''Name'''}} {{SKWindow/Cell|'''Personal Description'''}} {{SKWindow/Cell|'''Rank'''}}
|