Difference between revisions of "Template:OPInfoBox"

From EncyclopAtys

Jump to: navigation, search
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
βˆ’
<div style="float:right; margin: 0.5em 0 0.5em 1em; border:1px solid #AAAAAA; padding:2px;">
+
<includeonly>{|style="float: right;   width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
βˆ’
{| class="infobox"
+
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
βˆ’
|-
+
-->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)); <!--
βˆ’
! align="centre" colspan="2" style="background: #006699; padding: 2px;" | <font color="white">{{PAGENAME}}</font>
+
-->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center; "
βˆ’
|-
+
|-                                <!--Box title-->
βˆ’
! colspan="2" |[[Image:{{{image}}}|300px|link=http://ballisticmystix.net/?p=map;keywords;{{PAGENAME}}|{{PAGENAME}}]]
+
|colspan="2" <!--
βˆ’
|-
+
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!--
βˆ’
!align="centre" colspan="2" style="background: #006699; padding: 2px;" | <font color="white">{{{owner}}}<sup>[[Guild:{{{owner}}}|+]]</sup></font>
+
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " | {{3DText|text={{{title|Outpost}}}}}
βˆ’
|-
+
|-                                <!--Logo, name-->
βˆ’
|
+
|colspan="2" <!--
βˆ’
|-
+
-->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" style="background: #006699; width:50%" | <font color="white">'''Location:'''</font>
+
-->vertical-align:middle;text-align:left; padding:.02em .4em; <!--
βˆ’
!align="center" | '''{{{region}}}<!--, {{{conti}}}-->'''
+
-->{{#if: {{{logo|}}}| |line-height: 1.6}}; <!--
βˆ’
|-
+
-->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" style="background: #006699; width:50%" | <font color="white">'''Material:'''</font>
+
|-                                 <!--Image-->
βˆ’
!align="center" | '''[[{{{mat}}}]]'''
+
|colspan="2" <!--
βˆ’
|-
+
-->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" style="background: #006699; width:50%"| <font color="white">'''Flower:'''</font>
+
-->text-align:left; padding:0em; "<!--
βˆ’
!align="center" | '''[[Flowers|{{{flower}}}]]'''
+
-->|{{#if: {{{image|}}}| [[Image:{{{image}}}|frameless|center]]}}
βˆ’
|-
+
|-                                 <!--Region-->
βˆ’
!align="center" style="background: #006699; width:50%"| <font color="white">'''Quality:'''</font>
+
|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));<!--
βˆ’
!align="center" | '''{{{q}}}'''
+
-->text-align:right; padding:.2em .8em; "<!--
βˆ’
|}</div><!--
+
-->| {{3DText|text={{{territory|'''Region'''}}}}}
 +
|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='''{{{T_q|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
 +
|EN=Template:OPInfoBox
 +
|ES=Template:OPInfoBox
 +
|FR=Template:OPInfoBox
 +
|RU=Template:OPInfoBox
 +
}}{{OPInfoBox
 +
|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=OOC}};color:#{{ColorAtys|type=fg|group=OOC}};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|Template:OPInfoBox}}} }}</div>
  
βˆ’
--><noinclude>
+
'''Copier/coller:'''
βˆ’
==Description==
+
<div style="margin: 0em .5em; padding: 0em .5em;"><pre><nowiki>{{OPInfoBox
βˆ’
 
+
|name=<If different of the pagename>
βˆ’
<pre>
 
βˆ’
{{OPInfoBox
 
 
|image=<Filename>
 
|image=<Filename>
βˆ’
|owner=<Name of the owning guild>
 
 
|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]]
βˆ’
|owner=Council of the Forgotten
+
|mat=[[Tekorn Bramble]]
βˆ’
|region=[[Cities of Intuition]]  
+
|iconmat=Mp_filament.png
βˆ’
|mat=Maga Creeper
+
|flower=[[Outpost Produce|Dexterity]]
βˆ’
|flower=Dexterity
+
|iconflower=Flower str.png
βˆ’
|q=50
+
|q=150
βˆ’
|}}
+
}}</nowiki></pre></div>
βˆ’
 
+
</div>
βˆ’
[[Category: Infobox templates]]
+
[[category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:24, 11 January 2019

de:Template:OPInfoBox
en:Template:OPInfoBox
es:Template:OPInfoBox
fr:Template:OPInfoBox
ru: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-11)

Outpost Amber
Hightowers Farm
Hightowers Farm.jpg
Region Frahar Towers
Mat. Tekorn Bramble
Flower Dexterity
Quality
β˜…β˜…β˜…
Template: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=Mp_filament.png
|flower=[[Outpost Produce|Dexterity]]
|iconflower=Flower str.png
|q=150
}}