Difference between revisions of "Template:OPInfoBox"

From EncyclopAtys

Jump to: navigation, search
Line 1: Line 1:
βˆ’
{| class="infobox"
+
<includeonly>{|style="float: right;    width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
βˆ’
|-
+
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
βˆ’
! align="centre" colspan="2" style="background: #006699; padding: 2px;" | <font color="white">{{PAGENAME}}</font>
+
-->background-color: #C90; background-color: rgba(255, 165, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5)); <!--
βˆ’
|-
+
-->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center;  "
βˆ’
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
+
|-                                <!--Box title-->
βˆ’
|-
+
|colspan="2" <!--
βˆ’
! align="centre" colspan="2" style="background: #006699; padding: 0px;height:8px;" |
+
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!--
βˆ’
|-
+
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " | {{3DText|text={{{title|Outpost}}}}}
βˆ’
|
+
|-                                <!--Logo, name-->
βˆ’
|-
+
|colspan="2" <!--
βˆ’
!align="center" style="background: #006699; padding-left:5px;padding-right:5px;" | <font color="white">'''Location:'''</font>
+
-->style="background:transparent; background-color: (rgba(255, 165, 0, 0.2)); background-image: linear-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5),#A50);<!--
βˆ’
!align="center" | '''{{{region}}}<!--, {{{conti}}}-->'''
+
-->vertical-align:middle;text-align:left; padding:.02em .4em; <!--
βˆ’
|-
+
-->{{#if: {{{logo|}}}| |line-height: 1.6}}; <!--
βˆ’
!align="center" style="background: #006699; padding-left:5px;padding-right:5px;" | <font color="white">'''Material:'''</font>
+
-->font-size:1.2em; font-weight:bold;  "|{{#if: {{{logo|}}}| [[Image:{{{logo}}}|64px|top|left]]}} <big>{{3DText|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big><br/>
βˆ’
!align="center" | '''[[{{{mat}}}]]'''
+
|-                                 <!--Image-->
βˆ’
|-
+
|colspan="2" <!--
βˆ’
!align="center" style="background: #006699; padding-left:5px;padding-right:5px;"| <font color="white">'''Flower:'''</font>
+
-->style="background:transparent; background-color: (rgba(255, 165, 0, 0.2)); background-image: linear-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5),#A50);<!--
βˆ’
!align="center" | '''[[Flowers|{{{flower}}}]]'''
+
-->text-align:left; padding:0em; "<!--
βˆ’
|-
+
-->|{{#if: {{{image|}}}| [[Image:{{{image}}}|frameless|center]]}}
βˆ’
!align="center" style="background: #006699; padding-left:5px;padding-right:5px;"| <font color="white">'''Quality:'''</font>
+
|-                                 <!--Region-->
βˆ’
!align="center" | '''{{{q}}}'''
+
|style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!--
βˆ’
|}<!--
+
-->text-align:right; padding:.2em .8em; "<!--
βˆ’
 
+
-->| {{3DText|text={{{territory|'''Region'''}}}}}
βˆ’
--><noinclude>{{Trad
+
|style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->| {{3DText|text={{{region|}}}}}
 +
|-                                <!--Mat, logo-->
 +
|style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!--
 +
-->text-align:right; padding:.2em .8em; " <!--
 +
-->| {{3DText|text={{{T_mat|'''Mat.'''}}}}}
 +
|style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->| {{#if: {{{iconmat|}}}| [[Image:{{{iconmat}}}|32px|top|left]]}} {{3DText|text={{{mat}}}}}
 +
|-                                 <!--Flower, logo-->
 +
|style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!--
 +
-->text-align:right; padding:.2em .8em; " <!--
 +
-->| {{3DText|text={{{T_flower|'''Flower'''}}}}}
 +
|style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->| {{#if: {{{iconflower|}}}| [[Image:{{{iconflower}}}|32px|top|left]]}} {{3DText|text={{{flower}}}}}
 +
|-                                 <!--Quality-->
 +
|style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!--
 +
-->text-align:right; padding:.2em .8em; "<!--
 +
--> | {{3DText|text='''{{{chief_title|QualitΓ©}}}'''}}
 +
|style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:left; padding:.2em .4em; " <!--
 +
-->| {{3DText|text={{{q|}}}}}
 +
|}</includeonly>
 +
<noinclude>{{Trad
 
|DE=Template:OPInfoBox
 
|DE=Template:OPInfoBox
 
|EN=Template:OPInfoBox
 
|EN=Template:OPInfoBox
Line 28: Line 53:
 
|FR=Template:OPInfoBox
 
|FR=Template:OPInfoBox
 
|RU=
 
|RU=
βˆ’
}}{{Clear}}
+
}}{{OPInfoBox
βˆ’
==Description==
+
|name=Hightowers Farm
 +
|image=Hightowers Farm.jpg
 +
|region=[[Frahar Towers]]
 +
|mat=[[Tekorn Bramble]]
 +
|iconmat=
 +
|flower=[[Outpost Produce|Dexterity]]
 +
|iconflower=
 +
|q=150
 +
}}<!--
 +
--><div style="float:left;margin:0.2em;top:0;width:30%;border:thin inset #{{ColorAtys|type=dark|group=OOC}}; vertical-align:top;border-radius:1em;background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}};padding:0.1em;{{#if:{{{left|}}} | margin-left:0; | float:right;margin-right:0; }}">
 +
<div style="border:thin outset #{{ColorAtys|type=dark}}; border-radius:2em;margin:.2em;
 +
font-size:1.2em; font-weight:bold; text-align:center; color:#000; padding:.2em .4em;">{{3DText|text={{{titre|Modèle:OPInfoBox}}} }}</div>
  
βˆ’
<pre>
+
'''Copier/coller:'''
βˆ’
{{OPInfoBox
+
<div style="margin: 0em .5em; padding: 0em .5em;"><pre><nowiki>{{OPInfoBox
 +
|name=<If different of the pagename>
 
|image=<Filename>
 
|image=<Filename>
 
|region=<region>  
 
|region=<region>  
 
|mat=<OP mat produced>
 
|mat=<OP mat produced>
 +
|iconmat=<mat icon>
 
|flower=<Flower type>
 
|flower=<Flower type>
 +
|iconflower=<flower icon>
 
|q=<Quality of the produced materials>
 
|q=<Quality of the produced materials>
βˆ’
|}}
+
}}</nowiki></pre></div>
βˆ’
</pre>
+
'''Exemple:'''
βˆ’
 
+
<div style="margin:0em .5em; padding:.5em;"><pre><nowiki>{{OPInfoBox
βˆ’
==Example==
+
|name=Hightowers Farm
βˆ’
{{OPInfoBox
+
|image=Hightowers Farm.jpg
βˆ’
|image=Qai_du.png
+
|region=[[Frahar Towers]]
βˆ’
|region=[[Cities of Intuition]]  
+
|mat=[[Tekorn Bramble]]
βˆ’
|mat=Maga Creeper
+
|iconmat=
βˆ’
|flower=Dexterity
+
|flower=[[Outpost Produce|Dexterity]]
βˆ’
|q=50
+
|iconflower=
βˆ’
|}}
+
|q=150
βˆ’
 
+
}}</nowiki></pre></div>
βˆ’
[[Category: Infobox templates|OPInfoBox]]
+
</div>
 +
[[category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:52, 10 January 2019

de:Template:OPInfoBox
en:Template:OPInfoBox
fr:Template:OPInfoBox
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2019-01-10)

Outpost Amber
Hightowers Farm
Hightowers Farm.jpg
Region Frahar Towers
Mat. Tekorn Bramble
Flower Dexterity
Quality
β˜…β˜…β˜…
Modèle:OPInfoBox

Copier/coller:

{{OPInfoBox
|name=<If different of the pagename>
|image=<Filename>
|region=<region> 
|mat=<OP mat produced>
|iconmat=<mat icon>
|flower=<Flower type>
|iconflower=<flower icon>
|q=<Quality of the produced materials>
}}

Exemple:

{{OPInfoBox
|name=Hightowers Farm
|image=Hightowers Farm.jpg
|region=[[Frahar Towers]]
|mat=[[Tekorn Bramble]]
|iconmat=
|flower=[[Outpost Produce|Dexterity]]
|iconflower=
|q=150
}}