This is a documentation for Board Game Arena: play board games online !
Template:RftgWorld: Difference between revisions
Jump to navigation
Jump to search
/
/
/
/
/
Sammy McSam (talk | contribs) No edit summary |
Sammy McSam (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ | <div alt="{{{tooltip}}} world" style="display:inline-grid;place-items:center;width:{{{size|48}}}px;height:{{{size|48}}}px;margin:0 1px;vertical-align:middle;color:#000;font-family:Roboto,Arial,sans-serif;font-weight:1000;font-size:24px;-webkit-text-stroke:1px #fff;"> | ||
| | |||
| | <div id="windfall" style="opacity:{{{w|0}}};width:{{{size|48}}}px;height:{{{size|48}}}px;grid-area:1/1;border-radius:50%;background:conic-gradient(#DAA566 25%,#FFF200 25% 50%,#80CC28 50% 75%,#80D6F7 75%);"></div> | ||
|width= | <div id="novelty windfall" style="opacity:calc({{{w|0}}} * {{{n|0}}});width:{{{size|48}}}px;height:{{{size|48}}}px;grid-area:1/1;border-radius:50%;background:#80D6F7;"></div> | ||
|height= | <div id="rare elements windfall" style="opacity:calc({{{w|0}}} * {{{r|0}}});width:{{{size|48}}}px;height:{{{size|48}}}px;grid-area:1/1;border-radius:50%;background:#DAA566;"></div> | ||
| | <div id="genes windfall" style="opacity:calc({{{w|0}}} * {{{g|0}}});width:{{{size|48}}}px;height:{{{size|48}}}px;grid-area:1/1;border-radius:50%;background:#80CC28;"></div> | ||
| | <div id="alien technology windfall" style="opacity:calc({{{w|0}}} * {{{a|0}}});width:{{{size|48}}}px;height:{{{size|48}}}px;grid-area:1/1;border-radius:50%;background:#FFF200;"></div> | ||
|={{{1|​}}} | |||
| | <div id="civil" style="width:calc({{{size|48}}}px - 12px);height:calc({{{size|48}}}px - 12px);grid-area:1/1;border-radius:50%;background:#000;"></div> | ||
| | |||
}}< | <div id="military" style="width:calc({{{size|48}}}px - 12px);height:calc({{{size|48}}}px - 12px);grid-area:1/1;border-radius:50%;background:linear-gradient(0.75turn,#ED1C24 calc({{{m|0.5}}} * 100%),#000 calc({{{m|0.5}}} * 100%));"></div> | ||
<div id="world" style="width:calc({{{size|48}}}px - 20px);height:calc({{{size|48}}}px - 20px);grid-area:1/1;border-radius:50%;background:#fff;"></div> | |||
<div id="non-production" style="opacity:{{{n-p|0}}};width:calc({{{size|48}}}px - 20px);height:calc({{{size|48}}}px - 20px);grid-area:1/1;border-radius:50%;background:#CFD0D2;"></div> | |||
<div id="production" style="opacity:{{{p|0}}};width:calc({{{size|48}}}px - 20px);height:calc({{{size|48}}}px - 20px);grid-area:1/1;border-radius:50%;background:conic-gradient(#DAA566 25%,#FFF200 25% 50%,#80CC28 50% 75%,#80D6F7 75%);"></div> | |||
<div id="novelty production" style="opacity:calc({{{p|0}}} * {{{n|0}}});width:calc({{{size|48}}}px - 20px);height:calc({{{size|48}}}px - 20px);grid-area:1/1;border-radius:50%;background:#80D6F7;"></div> | |||
<div id="rare elements production" style="opacity:calc({{{p|0}}} * {{{r|0}}});width:calc({{{size|48}}}px - 20px);height:calc({{{size|48}}}px - 20px);grid-area:1/1;border-radius:50%;background:#DAA566;"></div> | |||
<div id="genes production" style="opacity:calc({{{p|0}}} * {{{g|0}}});width:calc({{{size|48}}}px - 20px);height:calc({{{size|48}}}px - 20px);grid-area:1/1;border-radius:50%;background:#80CC28;"></div> | |||
<div id="alien technology production" style="opacity:calc({{{p|0}}} * {{{a|0}}});width:calc({{{size|48}}}px - 20px);height:calc({{{size|48}}}px - 20px);grid-area:1/1;border-radius:50%;background:#FFF200;"></div> | |||
<div id="civil value" style="grid-area:1/1;">{{{1|​}}}</div> | |||
<div id="military value" style="opacity:{{{m|0}}};grid-area:1/1;color:#fff;-webkit-text-stroke:1px #ED1C24;">{{{1|​}}}</div> | |||
</div><noinclude> | |||
== Parameters == | |||
<div style="display:grid;grid-template-columns:3rem repeat(4,min-content) auto;gap:0.5rem;overflow:auto;text-overflow:ellipsis;"> | |||
<div style="font-weight:bold;width:8rem;">Id</div> | |||
<div style="font-weight:bold;width:8rem;">Name</div> | |||
<div style="font-weight:bold;width:8rem;">Default value</div> | |||
<div style="font-weight:bold;width:8rem;">Example</div> | |||
<div style="font-weight:bold;width:8rem;text-align:center;">Result</div> | |||
<div style="font-weight:bold;width:8rem;">Description</div> | |||
<div><code>1</code></div> | |||
<div>value</div> | |||
<div><code><nowiki>&ZeroWidthSpace;</nowiki></code></div> | |||
<div><code><nowiki>{{RftgWorld|5}}</nowiki></code></div> | |||
<div>{{RftgWorld|5}}</div> | |||
<div>'''''Optional:''''' specify the value.</div> | |||
<div><code>w</code></div> | |||
<div>windfall</div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>{{RftgWorld|w=1}}</nowiki></code></div> | |||
<div>{{RftgWorld|w=1}}</div> | |||
<div>'''''Optional:''''' windfall halo.</div> | |||
<div><code>p</code></div> | |||
<div>production</div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>{{RftgWorld|p=1}}</nowiki></code></div> | |||
<div>{{RftgWorld|p=1}}</div> | |||
<div>'''''Optional:''''' production solid.</div> | |||
<div><code>n-p</code></div> | |||
<div>non-production</div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>{{RftgWorld|n-p=1}}</nowiki></code></div> | |||
<div>{{RftgWorld|n-p=1}}</div> | |||
<div>'''''Optional:''''' non-production grey solid.</div> | |||
<div><code>n</code></div> | |||
<div>novelty</div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>{{RftgWorld|w=1|n=1}}</nowiki></code>/ <code><nowiki>{{RftgWorld|p=1|n=1}}</nowiki></code></div> | |||
<div>{{RftgWorld|w=1|n=1}}/{{RftgWorld|p=1|n=1}}</div> | |||
<div>'''''Optional:''''' novelty windfall / production.</div> | |||
<div><code>r</code></div> | |||
<div>rare elements</div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>{{RftgWorld|w=1|r=1}}</nowiki></code>/ <code><nowiki>{{RftgWorld|p=1|r=1}}</nowiki></code></div> | |||
<div>{{RftgWorld|w=1|r=1}}/{{RftgWorld|p=1|r=1}}</div> | |||
<div>'''''Optional:''''' rare elements windfall / production.</div> | |||
<div><code>g</code></div> | |||
<div>genes</div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>{{RftgWorld|w=1|g=1}}</nowiki></code>/ <code><nowiki>{{RftgWorld|p=1|g=1}}</nowiki></code></div> | |||
<div>{{RftgWorld|w=1|g=1}}/{{RftgWorld|p=1|g=1}}</div> | |||
<div>'''''Optional:''''' genes windfall / production.</div> | |||
<div><code>a</code></div> | |||
<div>alien</div> | |||
<div><code>0</code></div> | |||
<div><code><nowiki>{{RftgWorld|w=1|a=1}}</nowiki></code>/ <code><nowiki>{{RftgWorld|p=1|a=1}}</nowiki></code></div> | |||
<div>{{RftgWorld|w=1|a=1}}/{{RftgWorld|p=1|a=1}}</div> | |||
<div>'''''Optional:''''' alien windfall / production.</div> | |||
<div><code>m</code></div> | |||
<div>military</div> | |||
<div><code>0.5</code></div> | |||
<div><code><nowiki>{{RftgWorld|5|m=0}}</nowiki></code>/ <code><nowiki>{{RftgWorld|5|m=1}}</nowiki></code></div> | |||
<div>{{RftgWorld|5|m=0}}/{{RftgWorld|5|m=1}}</div> | |||
<div>'''''Optional:''''' civil / military.</div> | |||
</div> | |||
[[Category:RftgIcons]] | [[Category:RftgIcons]] | ||
<noinclude> | </noinclude> |
Revision as of 21:51, 16 February 2024
Parameters
Id
Name
Default value
Example
Result
Description
1
value
​
{{RftgWorld|5}}
5
5
Optional: specify the value.
w
windfall
0
{{RftgWorld|w=1}}
Optional: windfall halo.
p
production
0
{{RftgWorld|p=1}}
Optional: production solid.
n-p
non-production
0
{{RftgWorld|n-p=1}}
Optional: non-production grey solid.
n
novelty
0
{{RftgWorld|w=1|n=1}}
/ {{RftgWorld|p=1|n=1}}
Optional: novelty windfall / production.
r
rare elements
0
{{RftgWorld|w=1|r=1}}
/ {{RftgWorld|p=1|r=1}}
Optional: rare elements windfall / production.
g
genes
0
{{RftgWorld|w=1|g=1}}
/ {{RftgWorld|p=1|g=1}}
Optional: genes windfall / production.
a
alien
0
{{RftgWorld|w=1|a=1}}
/ {{RftgWorld|p=1|a=1}}
Optional: alien windfall / production.
m
military
0.5
{{RftgWorld|5|m=0}}
/ {{RftgWorld|5|m=1}}
5
5
5
5
Optional: civil / military.