Difference between revisions of "Template:Player"

From Wurmpedia
Jump to navigation Jump to search
(Adding CSS)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
<templatestyles src="Player/styles.css" />
 
<includeonly>
 
<includeonly>
 
{| style="float:right; margin:1em; width:150px;" cellpadding="3" cellspacing="1" border="5"
 
{| style="float:right; margin:1em; width:150px;" cellpadding="3" cellspacing="1" border="5"
! style="background-color:#FFE4C4;" | Player
+
! class="player-highlight-row" | Player
 
|-
 
|-
 
| style="text-align: center;" | '''{{{name}}}'''
 
| style="text-align: center;" | '''{{{name}}}'''
 
|-
 
|-
! style="background-color:#FFE4C4;" | Kingdom
+
! class="player-highlight-row" | Kingdom
 
|-
 
|-
 
| style="text-align: center;" | '''{{#switch: {{{kingdom}}}
 
| style="text-align: center;" | '''{{#switch: {{{kingdom}}}
 
|jk
 
|jk
|jenn-kellon =[[Jenn-Kellon]]
+
|jenn-kellon
 +
|Jenn-Kellon = [[Jenn-Kellon]]
 
|mr
 
|mr
 
|mol-rehan
 
|mol-rehan
Line 15: Line 17:
 
|hots
 
|hots
 
|HoTS
 
|HoTS
|horde of the summoned = [[Horde of The Summoned]]
+
|horde of the summoned
 +
|Horde of The Summoned = [[Horde of The Summoned]]
 
|freedom
 
|freedom
 
|Freedom = [[Freedom]]
 
|Freedom = [[Freedom]]
|#default = Unknown.
+
|#default = {{{kingdom}}}
 
}}'''
 
}}'''
 
|-
 
|-
! style="background-color:#FFE4C4;" | Server
+
! class="player-highlight-row" | Server
 
|-
 
|-
 
| style="text-align: center;" | '''{{#switch: {{{server}}}
 
| style="text-align: center;" | '''{{#switch: {{{server}}}
 
|Wild
 
|Wild
|wild = [[Wild]]
+
|wild
|Freedom
+
|Chaos
|freedom = [[Freedom]]
+
|chaos = [[Chaos]]
|gv
+
|Independence
|Golden Valley
+
|independence = [[Freedom|Independence]]
|golden valley = [[Golden Valley]]
+
|Deliverance
#default = Unknown
+
|deliverance = [[Freedom|Deliverance]]
 +
|Exodus
 +
|exodus = [[Freedom|Exodus]]
 +
|Celebration
 +
|celebration = [[Freedom|Celebration]]
 +
|Pristine
 +
|pristine = [[Freedom|Pristine]]
 +
|Release
 +
|release = [[Freedom|Release]]
 +
|Xanadu
 +
|xanadu = [[Freedom|Xanadu]]
 +
|elevation
 +
|Elevation = [[Epic|Elevation]]
 +
|serenity
 +
|Serenity = [[Epic|Serenity]]
 +
|affliction
 +
|Affliction = [[Epic|Affliction]]
 +
|desertion
 +
|Desertion = [[Epic|Desertion]]
 +
|#default = ''Unknown''
 
}}'''
 
}}'''
 
|-
 
|-
! style="background-color:#FFE4C4;" | Alts
+
{{#if: {{{settlement|}}}
 +
|! class="player-highlight-row" {{!}} Settlement
 +
{{!}}-
 +
{{!}} style="text-align: center;" {{!}} {{{settlement}}}
 +
|}}
 
|-
 
|-
|
+
{{#if: {{{profession|}}}
{{{alts|None.}}}
+
|! class="player-highlight-row" {{!}} Profession
 +
{{!}}-
 +
{{!}} style="text-align: center;" {{!}} {{{profession}}}
 +
|}}
 +
|-
 +
{{#if: {{{alts|}}}
 +
|! class="player-highlight-row" {{!}} Alts
 +
{{!}}-
 +
{{!}}
 +
{{{alts}}}
 +
|}}
 
|}
 
|}
 +
[[Category:Players]]
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
{{Player
 
{{Player
 
|name=Misterangry
 
|name=Misterangry
|kingdom=Freedom
+
|kingdom=freedom
|server=Freedom
+
|server=independence
|alts=
+
|settlement=[[Volcano Forest]]
*Benie
+
|profession=[[Digging]]
*Ctrlaltdelete
+
|alts=*Ctrlaltdelete
 +
*Yoplitein
 
}}
 
}}
Adds a little box with basic info to your playerpage.
+
Adds a little box with basic info to your player page.
  
 
Usage:
 
Usage:
<pre>{{Player
+
<pre style="width: 300px">{{Player
 
|name=Misterangry
 
|name=Misterangry
 
|kingdom=freedom
 
|kingdom=freedom
|server=freedom
+
|server=independence
|alts=
+
|settlement=[[Volcano Forest]]
*Benie
+
|profession=[[Digging]]
*Ctrlaltdelete
+
|alts=*Ctrlaltdelete
 +
*Yoplitein
 
}}</pre>
 
}}</pre>
  
 
Copypasta:
 
Copypasta:
<pre>{{Player
+
<pre style="width: 300px">{{Player
 
|name=
 
|name=
 
|kingdom=
 
|kingdom=
 
|server=
 
|server=
 +
|settlement=
 +
|profession=
 
|alts=
 
|alts=
 
}}</pre>
 
}}</pre>
 +
 +
[[Category:Template]]
 
</noinclude>
 
</noinclude>
<noinclude>[[Category:Template]]</noinclude>
 

Latest revision as of 20:40, 22 April 2021


Player
Misterangry
Kingdom
Freedom
Server
Independence
Settlement
Volcano Forest
Profession
Digging
Alts
  • Ctrlaltdelete
  • Yoplitein


Adds a little box with basic info to your player page.

Usage:

{{Player
|name=Misterangry
|kingdom=freedom
|server=independence
|settlement=[[Volcano Forest]]
|profession=[[Digging]]
|alts=*Ctrlaltdelete
*Yoplitein
}}

Copypasta:

{{Player
|name=
|kingdom=
|server=
|settlement=
|profession=
|alts=
}}