Difference between revisions of "Template:Player"

From Wurmpedia
Jump to navigation Jump to search
m (Whoops, sorry!)
(Adding CSS)
 
(8 intermediate revisions by 3 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}}}
Line 20: Line 21:
 
|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
 +
|Chaos
 +
|chaos = [[Chaos]]
 
|Independence
 
|Independence
 
|independence = [[Freedom|Independence]]
 
|independence = [[Freedom|Independence]]
Line 34: Line 37:
 
|Exodus
 
|Exodus
 
|exodus = [[Freedom|Exodus]]
 
|exodus = [[Freedom|Exodus]]
|gv
+
|Celebration
|Golden Valley
+
|celebration = [[Freedom|Celebration]]
|golden valley = [[Golden Valley]]
+
|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''
 
|#default = ''Unknown''
 
}}'''
 
}}'''
 
|-
 
|-
! style="background-color:#FFE4C4;" | Settlement
+
{{#if: {{{settlement|}}}
 +
|! class="player-highlight-row" {{!}} Settlement
 +
{{!}}-
 +
{{!}} style="text-align: center;" {{!}} {{{settlement}}}
 +
|}}
 
|-
 
|-
| style="text-align: center;" | {{{settlement|''None/unknown''}}}
+
{{#if: {{{profession|}}}
 +
|! class="player-highlight-row" {{!}} Profession
 +
{{!}}-
 +
{{!}} style="text-align: center;" {{!}} {{{profession}}}
 +
|}}
 
|-
 
|-
! style="background-color:#FFE4C4;" | Alts
+
{{#if: {{{alts|}}}
|-
+
|! class="player-highlight-row" {{!}} Alts
|
+
{{!}}-
{{{alts|''None''}}}
+
{{!}}
 +
{{{alts}}}
 +
|}}
 
|}
 
|}
 +
[[Category:Players]]
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
Line 56: Line 83:
 
|server=independence
 
|server=independence
 
|settlement=[[Volcano Forest]]
 
|settlement=[[Volcano Forest]]
 +
|profession=[[Digging]]
 
|alts=*Ctrlaltdelete
 
|alts=*Ctrlaltdelete
 
*Yoplitein
 
*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=independence
 
|server=independence
 
|settlement=[[Volcano Forest]]
 
|settlement=[[Volcano Forest]]
 +
|profession=[[Digging]]
 
|alts=*Ctrlaltdelete
 
|alts=*Ctrlaltdelete
 
*Yoplitein
 
*Yoplitein
Line 72: Line 101:
  
 
Copypasta:
 
Copypasta:
<pre>{{Player
+
<pre style="width: 300px">{{Player
 
|name=
 
|name=
 
|kingdom=
 
|kingdom=
 
|server=
 
|server=
 
|settlement=
 
|settlement=
 +
|profession=
 
|alts=
 
|alts=
 
}}</pre>
 
}}</pre>
  
==Valid values==
+
[[Category:Template]]
 
 
If the respective value does not contain text in this list, it will show up as "''Unknown''".
 
 
 
===Kingdom===
 
 
 
'''Jenn-Kellon'''
 
<pre>
 
jk
 
jenn-kellon
 
Jenn-Kellon
 
</pre>
 
 
 
'''Mol-Rehan'''
 
<pre>
 
mr
 
mol-rehan
 
Mol-Rehan
 
</pre>
 
 
 
'''HoTS'''
 
<pre>
 
hots
 
HoTS
 
horde of the summoned
 
Horde of The Summoned
 
</pre>
 
 
 
'''Freedom'''
 
<pre>
 
freedom
 
Freedom
 
</pre>
 
 
 
===Server===
 
 
 
'''Wild'''
 
<pre>
 
wild
 
Wild
 
</pre>
 
 
 
'''Freedom Isles'''
 
<pre>
 
independence
 
Independence
 
deliverance
 
Deliverance
 
exodus
 
Exodus
 
</pre>
 
 
 
'''Golden Valley'''
 
<pre>
 
gv
 
golden valley
 
Golden Valley
 
</pre>
 
 
</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=
}}