The Wiki for Tale 6 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:PilgrimTitheAdvanced"

From ATITD6
Jump to navigationJump to search
(Created page with "<noinclude>{| style = 'border-spacing: 0; border: 1px solid black; border-top: none; width: 36em; margin: 0 auto' | Allows the displaying of progress toward pilgrimage resources....")
 
Line 2: Line 2:
 
Allows the displaying of progress toward pilgrimage resources.
 
Allows the displaying of progress toward pilgrimage resources.
  
<PRE><NOWIKI>{{Resource Name | Quantity Gathered | Quantity Needed | Person Responsible for Gathering}}</NOWIKI></PRE>
+
<PRE><NOWIKI>{{PilgrimTitheAdvanced|Resource=Resource Name | Region=Region Name | X=X | Y=Y | Donor=Person Responsible for Gathering | Tithe=7 | TithesWanted=1 | Collected=1 }}</NOWIKI></PRE>
 
Future Considerations:
 
Future Considerations:
 
* Location of Shrine
 
* Location of Shrine
Line 25: Line 25:
 
| rowspan = '2' style = 'border-top: 1px solid black; padding: 0.2em 0.5em; line-height: 1.2; min-width: 12em; width: 100%' |[[{{{Resource|Resource Name}}}]]
 
| rowspan = '2' style = 'border-top: 1px solid black; padding: 0.2em 0.5em; line-height: 1.2; min-width: 12em; width: 100%' |[[{{{Resource|Resource Name}}}]]
 
| style = 'border-top: 1px solid black' |
 
| style = 'border-top: 1px solid black' |
| style = 'border-top: 1px solid black; padding: 0.2em 0.25em; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>{{{2|1}}}</div>
+
| style = 'border-top: 1px solid black; padding: 0.2em 0.25em; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>{{{Collected|1}}}</div>
 
| style = 'border-top: 1px solid black; padding: 0.2em 0.25em; line-height: 1.2; text-align: center' |/
 
| style = 'border-top: 1px solid black; padding: 0.2em 0.25em; line-height: 1.2; text-align: center' |/
| style = 'border-top: 1px solid black; padding: 0.2em 0.25em; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>{{#expr: ({{{Tithe|7}}} * {{{TithesWanted|1}}}) }}</div>
+
| style = 'border-top: 1px solid black; padding: 0.2em 0.25em; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>{{#expr: ({{{Tithe|7}}} * 7 * {{{TithesWanted|1}}}) }}</div>
| style = 'border-top: 1px solid black; padding: 0.2em 0.25em; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>({{#expr: ({{{Tithe|7}}} * {{{TithesWanted|1}}}) - {{{Collected|1}}} }})</div>
+
| style = 'border-top: 1px solid black; padding: 0.2em 0.25em; line-height: 1.2; text-align: right' |<div style='min-width: 3em'>({{#expr: ({{{Tithe|7}}} * 7 * {{{TithesWanted|1}}}) - {{{Collected|1}}} }})</div>
 
| style = 'border-top: 1px solid black' |
 
| style = 'border-top: 1px solid black' |
 
| rowspan = '2' style = 'border-top: 1px solid black; padding: 0.2em 0.5em; line-height: 1.2; min-width: 12em; width: 100%; text-align: center' |{{{4|'''Person Responsible for Gathering'''}}}
 
| rowspan = '2' style = 'border-top: 1px solid black; padding: 0.2em 0.5em; line-height: 1.2; min-width: 12em; width: 100%; text-align: center' |{{{4|'''Person Responsible for Gathering'''}}}
Line 35: Line 35:
 
| style = 'border-top: 0px solid black' |  
 
| style = 'border-top: 0px solid black' |  
 
| style = 'border-top: 0px solid black; text-align: center' | <div style='min-width: 10em'>{{{X|X}}}, {{{Y|Y}}}</div>
 
| style = 'border-top: 0px solid black; text-align: center' | <div style='min-width: 10em'>{{{X|X}}}, {{{Y|Y}}}</div>
| style = 'font-size: 70%; line-height: 1.2; text-align: right' | <strong>{{#expr: trunc (100 * {{{Collected|1}}} / ({{{Tithe|7}}} * {{{TithesWanted|1}}})) }}%</strong>
+
| style = 'font-size: 70%; line-height: 1.2; text-align: right' | <strong>{{#expr: trunc (100 * {{{Collected|1}}} / ({{{Tithe|7}}} * 7 * {{{TithesWanted|1}}})) }}%</strong>
| colspan = '4' style = 'padding: 0.2em 0.25em' |<div style='width: 98%; min-width: 12em; border: 1px solid #888; background: #ddd'><div style='font-size: 70%; line-height: 1.2; height: 1.2em; width: {{#expr: trunc (100 * {{{Collected|1}}} / ({{{Tithe|7}}} * {{{TithesWanted|1}}})) }}%; background: {{#ifeq: {{{Collected|1}}} | ({{{Tithe|7}}} * {{{TithesWanted|1}}}) | #99ff55 | #fb9 }}'></div></div><noinclude>
+
| colspan = '4' style = 'padding: 0.2em 0.25em' |<div style='width: 98%; min-width: 12em; border: 1px solid #888; background: #ddd'><div style='font-size: 70%; line-height: 1.2; height: 1.2em; width: {{#expr: trunc (100 * {{{Collected|1}}} / ({{{Tithe|7}}} * 7 * {{{TithesWanted|1}}})) }}%; background: {{#ifeq: {{{Collected|1}}} | ({{{Tithe|7}}} * 7 * {{{TithesWanted|1}}}) | #99ff55 | #fb9 }}'></div></div><noinclude>
 
|}</noinclude><NOINCLUDE>[[Category: Template]]  {{DEFAULTSORT:{{PAGENAME}}}}</noinclude>
 
|}</noinclude><NOINCLUDE>[[Category: Template]]  {{DEFAULTSORT:{{PAGENAME}}}}</noinclude>

Revision as of 03:41, 14 August 2012

Allows the displaying of progress toward pilgrimage resources.
{{PilgrimTitheAdvanced|Resource=Resource Name | Region=Region Name | X=X | Y=Y | Donor=Person Responsible for Gathering | Tithe=7 | TithesWanted=1 | Collected=1 }}

Future Considerations:

  • Location of Shrine
  • Number of items required per tithe
  • Number of tithes desired
  • Current points to be scored
  • Possible points to be scored
    • Resource=Resource Name
    • X=X Coordinate
    • Y=Y Coordinate
    • Region=Region Name
    • Tithe=Number for one tithe for one person
    • TithesWanted=Number of tithes you want to do
    • Collected=Number of items of the resource you've collected so far



Region Name
Resource Name
1
/
49
(48)
Person Responsible for Gathering
X, Y
2%