Difference between revisions of "Template:OPInfoBox"

From EncyclopAtys

Jump to: navigation, search
 
(41 intermediate revisions by 4 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: #0066FF; padding: 2px;" | <font color="white">{{PAGENAME}}</font>
+
-->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center; "
|-
+
|-                                <!--Box title-->
! colspan="2" |[[Image:{{{image}}}|350px|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: #0066FF; padding: 3px;" | <font color="white">{{{owner}}}</font>
+
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " | {{3DText|text={{{title|Outpost Amber}}}}}
|-
+
|-                                <!--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: #0066FF; 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: #0066FF; 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: #0066FF; width:50%"| <font color="white">'''Flower:'''</font>
+
-->text-align:left; padding:0em; "<!--
!align="center" | '''{{{flower}}}'''
+
-->|{{#if: {{{image|}}}| [[Image:{{{image}}}|frameless|center]]}}
|-
+
|-                                 <!--Region-->
!align="center" style="background: #0066FF; 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|Quality}}}'''}}
 +
|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={{lvl |lvl = {{{q|}}}|Special=Region}} }}
 +
|}</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>
+
'''Copy/Paste:'''
==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>  
|conti=<continent>
 
 
|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
|conti=[[Witherings]]
+
|flower=[[Outpost Produce|Dexterity]]
|mat=Maga Creeper
+
|iconflower=Flower str.png
|flower=Dexterity
+
|q=150
|q=50
+
}}</nowiki></pre></div>
|}}
+
</div>
 
+
[[category:Infobox templates]]
[[Category: Infobox templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 06:27, 20 August 2021

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: (Dorothée, 2021-08-20)

Outpost Amber
Hightowers Farm
Hightowers Farm.jpg
Region Frahar Towers
Mat. Tekorn Bramble
Flower Dexterity
Quality
★★★
Template:OPInfoBox

Copy/Paste:

{{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
}}