Difference between revisions of "Template:SettleInfoBox"

From EncyclopAtys

Jump to: navigation, search
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#vardefine:colour|688}}<!--
+
{{#switch: {{lc: {{{continent}}}}}
-->{| class="infobox"
+
| witherings      = {{#vardefine:colour|871F78}}
 +
| [[witherings]]      = {{#vardefine:colour|871F78}}
 +
| verdant heights = {{#vardefine:colour|339340}}
 +
| [[verdant heights]] = {{#vardefine:colour|339340}}
 +
| burning desert  = {{#vardefine:colour|C63}}
 +
| [[burning desert]]  = {{#vardefine:colour|C63}}
 +
| aeden aqueous  = {{#vardefine:colour|36C}}
 +
| [[aeden aqueous]]  = {{#vardefine:colour|36C}}
 +
| #default        = {{#vardefine:colour|688}} }}<!--
 +
--><!--{{#vardefine:colour|688}}-->{| class="infobox"
 
|-
 
|-
 
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
 
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 2px;"| <font color="white">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}</font>
 
|-
 
|-
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|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