Difference between revisions of "Template:Rewardsinfo"

From Glitch Forever
Jump to navigation Jump to search
(Wrapped instructions in noinclude tags, to prevent the instructions from being included everywhere the template is being used)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style=width:250px;" align="right"
+
{| class="infobox" style="width:250px; border: 0px solid #27420a; border-radius: 30px 30px 30px 30px;" align="right"
 
|-
 
|-
! colspan="2" style=font-family:'RockoFLFBold','Arial Rounded MT Bold',sans-serif; font-size:150%;text-align:center" | {{{Name<includeonly>|{{PAGENAME}}</includeonly>}}} <br>  
+
! colspan="2" style="background-color: #d8e1d5; color:#27420a; !important; font-family:'VAG Rounded','Arial Rounded MT Bold',sans-serif; font-size:150%; padding:5px; border-style:none; border-radius: 25px 25px 0px 0px; {{{titlestyle|}}}" | {{{Name<includeonly>|{{PAGENAME}}</includeonly>}}} <br>  
  
 
|-
 
|-
Line 15: Line 15:
 
}}
 
}}
 
|-
 
|-
! colspan="2" style=font-family:'RockoFLFBold','Arial Rounded MT Bold',sans-serif; font-size:150%;text-align:center" | Rewards <br>  
+
! colspan="2" style="font-family:'VAG Rounded','Arial Rounded MT Bold',sans-serif; font-size:110%; text-align:center; background-color: #d8e1d5; color:#27420a;" | Rewards <br>  
 
|-
 
|-
 
{{#if: {{{img<includeonly>|</includeonly>}}} |
 
{{#if: {{{img<includeonly>|</includeonly>}}} |
 
{{!}} style="text-align:left;" {{!}} '''[[iMG]]''':  
 
{{!}} style="text-align:left;" {{!}} '''[[iMG]]''':  
{{!}} {{{iMG}}}
+
{{!}} {{{img}}} {{iMG}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{favor<includeonly>|</includeonly>}}} |
 
{{#if: {{{favor<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Favor''':  
+
{{!}} style="text-align:left;" {{!}} '''[[Favor]]''':  
 
{{!}} +{{{1}}} with [[{{{2}}}]]
 
{{!}} +{{{1}}} with [[{{{2}}}]]
 
{{!}}-
 
{{!}}-
Line 30: Line 30:
 
|-
 
|-
 
{{#if: {{{mood<includeonly>|</includeonly>}}} |
 
{{#if: {{{mood<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Mood''':
+
{{!}} style="text-align:left;" {{!}} '''[[Mood]]''':
{{!}} + {{{mood}}}
+
{{!}} +{{{mood}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{energy<includeonly>|</includeonly>}}} |
 
{{#if: {{{energy<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Energy''':  
+
{{!}} style="text-align:left;" {{!}} '''[[Energy]]''':  
{{!}} + {{{energy}}}
+
{{!}} +{{{energy}}} {{E}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{currants<includeonly>|</includeonly>}}} |
 
{{#if: {{{currants<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Currants''':  
+
{{!}} style="text-align:left;" {{!}} '''[[Currants]]''':  
{{!}} + {{{currants}}}
+
{{!}} +{{{currants}}} {{C}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 51: Line 51:
 
{{!}} {{{unlocks}}}
 
{{!}} {{{unlocks}}}
 
{{!}}-
 
{{!}}-
}}|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
}}
 +
|-
 +
! colspan="2" style="background-color: #d8e1d5; color:#d8e1d5; !important; font-size:80%; padding:1px; border-style:none; border-radius: 0px 0px 60px 60px;"| .
  
<noinclude>
+
|}<noinclude>{{documentation}}</noinclude>
<div style=float:left;>
 
 
 
==Using this Template==
 
To add this template to your page, paste in the following (removing any elements that do not apply):
 
 
 
<pre>
 
{{Rewardsinfo
 
|image =
 
|name = {{PAGENAME}}
 
|task =
 
|img =
 
|favor= favor|1=  |2=
 
|mood =
 
|energy =
 
|currants =
 
|unlocks =
 
}}
 
</pre>
 
<br>
 
Favor takes two arguments: 1=amount of favor, 2 = giant.
 
<br>
 
<pre>
 
|favor= favor|1=20|2=Pot
 
</pre>
 
<br>
 
The above will print +20 with Pot, with Pot being a link to the giant's page. The link will happen automatically in the template.
 
</div>
 
</noinclude>
 

Latest revision as of 02:59, 6 May 2019

{{{Name}}}
{{{image}}}
Task: {{{task}}}
Rewards
iMG: {{{img}}} iMG
Favor: +{{{1}}} with [[{{{2}}}]]
Mood: +{{{mood}}}
Energy: +{{{energy}}} Energy
Currants: +{{{currants}}} Currant
Unlocks: {{{unlocks}}}
.
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Rewardsinfo/doc to edit this documentation. (How does this work?)

Description

This template is used to display basic information and pictures for achievement pages.

Syntax

Type
{{Rewardsinfo
|image = 
|name = {{PAGENAME}}
|task = 
|img = 
|favor= favor|1=  |2= 
|mood = 
|energy = 
|currants = 
|unlocks = 
}} 

somewhere.

Samples

{{Rewardsinfo
|image   = [[File:Alakol Completist.png|200px]]
|name    = {{PAGENAME}}
|task    = Traveled to all the [[Street]]s in [[Alakol]]
|img     = 12
|favor   = favor|1= 3  |2=Tii
|mood    = 12
|energy  = 30
|currants= 20
|unlocks = [[Herbalism I]]
}}

results in...

Rewardsinfo
Alakol Completist.png
Task: Traveled to all the Streets in Alakol
Rewards
iMG: 12 iMG
Favor: +3 with Tii
Mood: +12
Energy: +30 Energy
Currants: +20 Currant
Unlocks: Herbalism I
.