Difference between revisions of "Template:OPInfoBox"
From EncyclopAtys
CeNobiteElf (talk | contribs) |
|||
(25 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly>{|style="float: right; width:25%; max-width:30%; margin: 0.1em; overflow: auto; <!-- |
− | + | -->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)); <!-- | |
− | + | -->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center; " | |
− | + | |- <!--Box title--> | |
− | + | |colspan="2" <!-- | |
− | |- | + | -->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 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);<!-- | |
− | + | -->vertical-align:middle;text-align:left; padding:.02em .4em; <!-- | |
− | + | -->{{#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/> |
− | + | |- <!--Image--> | |
− | + | |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);<!-- |
− | + | -->text-align:left; padding:0em; "<!-- | |
− | + | -->|{{#if: {{{image|}}}| [[Image:{{{image}}}|frameless|center]]}} | |
− | |- | + | |- <!--Region--> |
− | + | |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" | | + | -->text-align:right; padding:.2em .8em; "<!-- |
− | + | -->| {{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> | ||
− | + | '''Copy/Paste:''' | |
− | + | <div style="margin: 0em .5em; padding: 0em .5em;"><pre><nowiki>{{OPInfoBox | |
− | + | |name=<If different of the pagename> | |
− | < | ||
− | {{OPInfoBox | ||
|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 | |
− | = | + | |name=Hightowers Farm |
− | {{OPInfoBox | + | |image=Hightowers Farm.jpg |
− | |image= | + | |region=[[Frahar Towers]] |
− | | | + | |mat=[[Tekorn Bramble]] |
− | | | + | |iconmat=Mp_filament.png |
− | | | + | |flower=[[Outpost Produce|Dexterity]] |
− | |flower=Dexterity | + | |iconflower=Flower str.png |
− | |q= | + | |q=150 |
− | + | }}</nowiki></pre></div> | |
− | + | </div> | |
− | [[ | + | [[category:Infobox templates]] |
</noinclude> | </noinclude> |
Latest revision as of 06:27, 20 August 2021
Outpost Amber | ||
Hightowers Farm | ||
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 }}