Difference between revisions of "Template:Rewardsinfo"

From Glitch Forever
Jump to navigation Jump to search
Line 1: Line 1:
{| class="infobox" style=width:250px;" align="right"
+
{| class="infobox" style=width:25%;" align="right"
 
|-
 
|-
 
! colspan="2" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}} | {{{Name<includeonly>|{{PAGENAME}}</includeonly>}}} <br>  
 
! colspan="2" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}} | {{{Name<includeonly>|{{PAGENAME}}</includeonly>}}} <br>  
Line 51: Line 51:
 
{{!}} {{{unlocks}}}
 
{{!}} {{{unlocks}}}
 
{{!}}-
 
{{!}}-
}}|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
}}|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]{{documentation}}</noinclude>
 
 
<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>
 

Revision as of 01:35, 9 April 2019

{{{Name}}}
{{{image}}}
Task: {{{task}}}
Rewards
iMG: {{{img}}}
Favor: +{{{1}}} with [[{{{2}}}]]
Mood: +{{{mood}}}
Energy: +{{{energy}}}
Currants: +{{{currants}}}
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
Favor: +3 with Tii
Mood: +12
Energy: +30
Currants: +20
Unlocks: Herbalism I