Difference between revisions of "Template:SettleInfoBox"

From EncyclopAtys

Jump to: navigation, search
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{#switch: {{lc: {{{continent}}}}}
 
{{#switch: {{lc: {{{continent}}}}}
 
| witherings      = {{#vardefine:colour|871F78}}  
 
| witherings      = {{#vardefine:colour|871F78}}  
 +
| [[witherings]]      = {{#vardefine:colour|871F78}}
 
| verdant heights = {{#vardefine:colour|339340}}  
 
| verdant heights = {{#vardefine:colour|339340}}  
 +
| [[verdant heights]] = {{#vardefine:colour|339340}}
 
| burning desert  = {{#vardefine:colour|C63}}  
 
| burning desert  = {{#vardefine:colour|C63}}  
 +
| [[burning desert]]  = {{#vardefine:colour|C63}}
 
| aeden aqueous  = {{#vardefine:colour|36C}}  
 
| aeden aqueous  = {{#vardefine:colour|36C}}  
 +
| [[aeden aqueous]]  = {{#vardefine:colour|36C}}
 
| #default        = {{#vardefine:colour|688}} }}<!--
 
| #default        = {{#vardefine:colour|688}} }}<!--
 
--><!--{{#vardefine:colour|688}}-->{| class="infobox"
 
--><!--{{#vardefine:colour|688}}-->{| class="infobox"
Line 11: Line 15:
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|{{#if: {{{size|}}} |{{{size}}} | 300px}}|{{PAGENAME}}]] }}
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|{{#if: {{{size|}}} |{{{size}}} | 300px}}|{{PAGENAME}}]] }}
 
|-
 
|-
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" | <font color="white"></font>
+
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 0px;height:8px;" | <font color="white"></font>
 
|-
 
|-
 
|
 
|
 
|-
 
|-
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Region:'''</font>
+
!align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Region:'''</font>
 
!align="center" | {{{region}}}
 
!align="center" | {{{region}}}
 
|-
 
|-
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Continent:'''</font>
+
!align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Continent:'''</font>
 
!align="center" | {{{continent}}}
 
!align="center" | {{{continent}}}
 
|-
 
|-
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Available quality:'''</font>
+
!align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Available&nbsp;quality:'''</font>
 
!align="center" | {{{q}}}
 
!align="center" | {{{q}}}
 
|-
 
|-
!align="centre" style="background: #{{#var:colour}}; width:50%;" | <font color="white">'''Altar:'''</font>
+
!align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="white">'''Altar:'''</font>
 
!align="center" | {{{altar}}}
 
!align="center" | {{{altar}}}
 
|}<!--
 
|}<!--
  
--><noinclude>{{clear}} __NOTOC__
+
--><noinclude>{{Trad|DE=Vorlage:SettleInfoBox|ES=Plantilla:SettleInfoBox|EN=Template:SettleInfoBox|FR=Modèle:SettleInfoBox|RU=|palette=wiki |H=1}}{{clear}} __NOTOC__
 
==Description==
 
==Description==
 
===Usage===
 
===Usage===

Latest revision as of 10:50, 4 August 2023

SettleInfoBox
Region: {{{region}}}
Continent: {{{continent}}}
Available quality: {{{q}}}
Altar: {{{altar}}}
de:Vorlage:SettleInfoBox en:Template:SettleInfoBox es:Plantilla:SettleInfoBox fr:Modèle:SettleInfoBox
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Leda, 2023-08-04)


Description

Usage

{{SettleInfoBox
|image=
|region=
|continent=
|q=
|altar=
|}}

Not optional parameters

region
Specifies in which region the settlement is in
continent
Specifies on which continent the settlement is in.
q
Specifies the highest quality goods available in the settlement, eg. 100
altar
specifies what faction's altars are located in the settlement, valid values are:
  • Kami and Karavan
  • Kami
  • Karavan

Optional parameters

name
If used the template uses a different name than what {{PAGENAME}} provides.
image
Specifies the image that should be used for the region.

Example

SettleInfoBox
SettleInfoBox
Region: Liberty Lake
Continent: Aeden Aqueous
Available quality: 100
Altar: Kami and Karavan