Difference between revisions of "Template:Report/sandbox"
Jump to navigation
Jump to search
(Testing mission stub catagorization) |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
| {{#switch: {{lc:{{{faction}}}}} | | {{#switch: {{lc:{{{faction}}}}} | ||
|illuminati={{Report/faction|faction=Illuminati|from={{{illuminati-from|The Dragon}}}|subject={{{illuminati-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}}| {{{all-report}}} | {{{illuminati-report}}} }} }} | |illuminati={{Report/faction|faction=Illuminati|from={{{illuminati-from|The Dragon}}}|subject={{{illuminati-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}}| {{{all-report}}} | {{{illuminati-report}}} }} }} | ||
− | |templar={{Report/faction|faction=Templars|from={{{templar-from|The Dragon}}}|subject={{{templar-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{ | + | |templar={{Report/faction|faction=Templars|from={{{templar-from|The Dragon}}}|subject={{{templar-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{templar-report|No Data}}} }} }} |
− | |#default={{Report/faction|faction=Dragon|from={{{dragon-from|The Dragon}}}|subject={{{dragon-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{ | + | |#default={{Report/faction|faction=Dragon|from={{{dragon-from|The Dragon}}}|subject={{{dragon-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{dragon-report|No Data}}} }} }} }} |
− | | {{Report/faction|faction=Dragon|from={{{dragon-from|The Dragon}}}|subject={{{dragon-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{dragon-report|No Data}}} }} }} | + | | {{Report/faction|faction=Dragon|from={{{dragon-from|The Dragon}}}|subject={{{dragon-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{dragon-report|No Data [[Category:Mission stubs]]}}} }} }} |
− | {{!}} style="vertical-align:top;" {{!}} {{Report/faction|faction=Illuminati|from={{{illuminati-from|The Labyrinth}}}|subject={{{illuminati-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{illuminati-report|No Data}}} }} }} | + | {{!}} style="vertical-align:top;" {{!}} {{Report/faction|faction=Illuminati|from={{{illuminati-from|The Labyrinth}}}|subject={{{illuminati-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{illuminati-report|No Data [[Category:Mission stubs]]}}} }} }} |
{{!}}- | {{!}}- | ||
− | {{!}} style="vertical-align:top;" {{!}} {{Report/faction|faction=Templars|from={{{templar-from|Temple Hall}}}|subject={{{templar-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{templar-report|No Data}}} }} }} | + | {{!}} style="vertical-align:top;" {{!}} {{Report/faction|faction=Templars|from={{{templar-from|Temple Hall}}}|subject={{{templar-subject|{{{name}}}}}}|report={{#if: {{{all-report|}}} | {{{all-report}}} | {{{templar-report|No Data [[Category:Mission stubs]]}}} }} }} |
}} | }} | ||
{{!}} style="vertical-align:top;" {{!}} | {{!}} style="vertical-align:top;" {{!}} | ||
− | {| class=Graybox style="width: | + | {| class=Graybox style="width:500px; text-align:left; font-family: Futura, sans-serif" |
|- | |- | ||
| style="text-align:center;" | [[File:{{uc:{{{content|TSW}}}}} Header.jpg|alt="{{#ifeq: {{lc:{{{content|}}}}}|tsw|The Secret World|Secret World Legends}}"|200px|link={{#ifeq: {{lc:{{{content|}}}}}|tsw|The Secret World|Secret World Legends}}]] | | style="text-align:center;" | [[File:{{uc:{{{content|TSW}}}}} Header.jpg|alt="{{#ifeq: {{lc:{{{content|}}}}}|tsw|The Secret World|Secret World Legends}}"|200px|link={{#ifeq: {{lc:{{{content|}}}}}|tsw|The Secret World|Secret World Legends}}]] | ||
Line 20: | Line 20: | ||
| style="vertical-align:top; font-weight:bold;" | <!-- | | style="vertical-align:top; font-weight:bold;" | <!-- | ||
-->Provided<br/><!-- | -->Provided<br/><!-- | ||
− | -->[[File:Exp.png|20px|link=Experience]] [[Experience|<span style="color:#ffffff;">{{{xp|No Data}}}</span>]]<br/><!-- | + | -->[[File:Exp.png|20px|link=Experience]] [[Experience|<span style="color:#ffffff;">{{{xp|No Data [[Category:Mission stubs]]}}}</span>]]<br/><!-- |
-->{{#ifeq: {{lc:{{{content|}}}}}| swl <!-- | -->{{#ifeq: {{lc:{{{content|}}}}}| swl <!-- | ||
− | -->|[[File:Anima Shards.png|20px|link=Anima Shard]] [[Anima Shards|<span style="color:#ffffff;">{{{shards|No Data}}}</span>]]<br/><!-- | + | -->|[[File:Anima Shards.png|20px|link=Anima Shard]] [[Anima Shards|<span style="color:#ffffff;">{{{shards|No Data [[Cateogry:Mission stubs]]}}}</span>]]<br/><!-- |
-->|{{#if:{{{bullion|}}}| [[File:BlackBullion.png|20px|link=Black Bullion]] [[Black Bullion|<span style="color#FFFFFF;">{{{bullion}}}</span>]] <br/>|}}<!-- | -->|{{#if:{{{bullion|}}}| [[File:BlackBullion.png|20px|link=Black Bullion]] [[Black Bullion|<span style="color#FFFFFF;">{{{bullion}}}</span>]] <br/>|}}<!-- | ||
-->[[File:PaxRomana.png|20px|link=Pax Romana]] [[Pax Romana|<span style="color:#FFFFFF;">{{{pax|No Data}}}</span>]]<!-- | -->[[File:PaxRomana.png|20px|link=Pax Romana]] [[Pax Romana|<span style="color:#FFFFFF;">{{{pax|No Data}}}</span>]]<!-- | ||
Line 42: | Line 42: | ||
-->{{#if: {{{swl-talisman|}}} | [[File:Talisman Reward Bag.jpg|20px|link=Talisman Reward Bag]] {{{swl-talisman}}} [[Talisman Reward Bag|<span style="color:#FFFFFF;">Talisman Reward Bag</span>]]<br/>}}<!-- | -->{{#if: {{{swl-talisman|}}} | [[File:Talisman Reward Bag.jpg|20px|link=Talisman Reward Bag]] {{{swl-talisman}}} [[Talisman Reward Bag|<span style="color:#FFFFFF;">Talisman Reward Bag</span>]]<br/>}}<!-- | ||
-->{{#if: {{{swl-glyph|}}} | [[File:Glyph Reward Bag.jpg|20px|link=Glyph Reward Bag]] {{{swl-glyph}}} [[Glyph Reward Bag|<span style="color:#FFFFFF;">Glyph Reward Bag</span>]]<br/>}}<!-- | -->{{#if: {{{swl-glyph|}}} | [[File:Glyph Reward Bag.jpg|20px|link=Glyph Reward Bag]] {{{swl-glyph}}} [[Glyph Reward Bag|<span style="color:#FFFFFF;">Glyph Reward Bag</span>]]<br/>}}<!-- | ||
+ | -->{{#if: {{{swl-key|}}} | [[File:Item_FilthEncrustedContainerKey.png|20px|link=Filth-Encrusted Container Key]] {{{swl-key}}} [[Filth-Encrusted Container Key|<span style="color:#FFFFFF;">Filth-Encrusted Container Key</span>]]<br/>}}<!-- | ||
-->{{#if: {{{swl-item|}}} | [[File:Item Reward Bag.jpg|20px|link=Item Reward Bag]] {{{swl-item}}} [[Item Reward Bag|<span style="color:#FFFFFF;">Item Reward Bag</span>]]<br/>}}<!-- | -->{{#if: {{{swl-item|}}} | [[File:Item Reward Bag.jpg|20px|link=Item Reward Bag]] {{{swl-item}}} [[Item Reward Bag|<span style="color:#FFFFFF;">Item Reward Bag</span>]]<br/>}}<!-- | ||
-->| {{#if: {{{sequins|}}} | [[File:Sequinof{{#switch: {{lc:{{{region|}}}}} |solomon island=SolomonIsland |egypt|valley of the sun god=theValleyoftheSunGod |transylvania=Translvania |tokyo=Sunrise}}.png|20px|link=Sequin of {{#switch: {{lc:{{{region|}}}}} |solomon island=Solomon Island |egypt|valley of the sun god= the Valley of the Sun God |transylvania=Translvania |tokyo=Sunrise}}]] {{{sequins}}} [[Sequin of {{#switch: {{lc:{{{region|}}}}} |solomon island=Solomon Island |egypt|valley of the sun god= the Valley of the Sun God |transylvania=Translvania |tokyo=Sunrise}}|<span style="color:#ffffff;">Sequin of {{#switch: {{lc:{{{region|}}}}} |solomon island=Solomon Island |egypt|valley of the sun god= the Valley of the Sun God |transylvania=Translvania |tokyo=Sunrise}}</span>]]<br/> }}<!-- | -->| {{#if: {{{sequins|}}} | [[File:Sequinof{{#switch: {{lc:{{{region|}}}}} |solomon island=SolomonIsland |egypt|valley of the sun god=theValleyoftheSunGod |transylvania=Translvania |tokyo=Sunrise}}.png|20px|link=Sequin of {{#switch: {{lc:{{{region|}}}}} |solomon island=Solomon Island |egypt|valley of the sun god= the Valley of the Sun God |transylvania=Translvania |tokyo=Sunrise}}]] {{{sequins}}} [[Sequin of {{#switch: {{lc:{{{region|}}}}} |solomon island=Solomon Island |egypt|valley of the sun god= the Valley of the Sun God |transylvania=Translvania |tokyo=Sunrise}}|<span style="color:#ffffff;">Sequin of {{#switch: {{lc:{{{region|}}}}} |solomon island=Solomon Island |egypt|valley of the sun god= the Valley of the Sun God |transylvania=Translvania |tokyo=Sunrise}}</span>]]<br/> }}<!-- | ||
Line 47: | Line 48: | ||
|- | |- | ||
| colspan=3 | <!-- | | colspan=3 | <!-- | ||
− | --> {{#if:{{{other|}}} | {{#if: {{{other-icon|}}}|[[File:{{{other-icon}}}|20px|link={{{other}}}]]|<span style="padding-left:26px;">}} {{#if:{{{other-qty|}}} | {{{other-qty}}} | 1}} [[{{{other}}}|<span style="color:#FFFFFF;">{{{other}}}</span>]]{{#if: {{{other-icon|}}}| |</span>}}<br/>}} <!-- | + | --> {{#if:{{{other|}}} | {{#if: {{{other-icon|}}}|[[File:{{{other-icon}}}|20px|link={{{other}}}]]|<span style="padding-left:26px;">}} {{#if:{{{other-qty|}}} | {{{other-qty}}} | 1}} [[{{{other}}}|<span style="color:#FFFFFF;">{{{other}}}</span>]]{{#if:{{{other-desc|}}}| - {{{other-desc|}}}}}{{#if: {{{other-icon|}}}| |</span>}}<br/>}} <!-- |
− | --> {{#if:{{{other2|}}} | {{#if: {{{other2-icon|}}}|[[File:{{{other2-icon}}}|20px|link={{{other2}}}]]|<span style="padding-left:26px;">}} {{#if:{{{other2-qty|}}} | {{{other2-qty}}} | 1}} [[{{{other2}}}|<span style="color:#FFFFFF;">{{{other2}}}</span>]]{{#if: {{{other2-icon|}}}| |</span>}}<br/>}} <!-- | + | --> {{#if:{{{other2|}}} | {{#if: {{{other2-icon|}}}|[[File:{{{other2-icon}}}|20px|link={{{other2}}}]]|<span style="padding-left:26px;">}} {{#if:{{{other2-qty|}}} | {{{other2-qty}}} | 1}} [[{{{other2}}}|<span style="color:#FFFFFF;">{{{other2}}}</span>]]{{#if:{{{other2-desc|}}}| - {{{other2-desc|}}}}}{{#if: {{{other2-icon|}}}| |</span>}}<br/>}} <!-- |
− | --> {{#if:{{{other3|}}} | {{#if: {{{other3-icon|}}}|[[File:{{{other3-icon}}}|20px|link={{{other3}}}]]|<span style="padding-left:26px;">}} {{#if:{{{other3-qty|}}} | {{{other3-qty}}} | 1}} [[{{{other3}}}|<span style="color:#FFFFFF;">{{{other3}}}</span>]]{{#if: {{{other3-icon|}}}| |</span>}}<br/>}} <!-- | + | --> {{#if:{{{other3|}}} | {{#if: {{{other3-icon|}}}|[[File:{{{other3-icon}}}|20px|link={{{other3}}}]]|<span style="padding-left:26px;">}} {{#if:{{{other3-qty|}}} | {{{other3-qty}}} | 1}} [[{{{other3}}}|<span style="color:#FFFFFF;">{{{other3}}}</span>]]{{#if:{{{other3-desc|}}}| - {{{other-desc|}}}}}{{#if: {{{other3-icon|}}}| |</span>}}<br/>}} <!-- |
− | --> {{#if:{{{other4|}}} | {{#if: {{{other-icon4|}}}|[[File:{{{other4-icon}}}|20px|link={{{other4}}}]]|<span style="padding-left:26px;">}} {{#if:{{{other4-qty|}}} | {{{other4-qty}}} | 1}} [[{{{other4}}}|<span style="color:#FFFFFF;">{{{other4}}}</span>]]{{#if: {{{other4-icon|}}}| |</span>}}<br/>}} <!-- | + | --> {{#if:{{{other4|}}} | {{#if: {{{other-icon4|}}}|[[File:{{{other4-icon}}}|20px|link={{{other4}}}]]|<span style="padding-left:26px;">}} {{#if:{{{other4-qty|}}} | {{{other4-qty}}} | 1}} [[{{{other4}}}|<span style="color:#FFFFFF;">{{{other4}}}</span>]]{{#if:{{{other4-desc|}}}| - {{{other-desc|}}}}}{{#if: {{{other4-icon|}}}| |</span>}}<br/>}} <!-- |
--> {{#if:{{{choose1|}}} | Choose One: {{#if:{{{choose-desc|}}}|({{{choose-desc}}})|}}<ul><!-- | --> {{#if:{{{choose1|}}} | Choose One: {{#if:{{{choose-desc|}}}|({{{choose-desc}}})|}}<ul><!-- | ||
--> <li>[[{{{choose1}}}{{!}}<span style="color:#FFFFFF;">{{{choose1}}}</span>]]</li><!-- | --> <li>[[{{{choose1}}}{{!}}<span style="color:#FFFFFF;">{{{choose1}}}</span>]]</li><!-- | ||
Line 63: | Line 64: | ||
--> </ul>}} | --> </ul>}} | ||
{{#if: {{{first|}}} | | {{#if: {{{first|}}} | | ||
+ | {{!-}} | ||
+ | {{!}} colspan=3 {{!}} | ||
{{!-}} | {{!-}} | ||
{{!}} colspan=3 {{!}} <br/>'''First Time Completion Rewards''' | {{!}} colspan=3 {{!}} <br/>'''First Time Completion Rewards''' | ||
− | {{#if: {{{first-icon|}}}|[[File:{{{first-icon}}}|20px|link={{{first}}}]]|<span style="padding-left:26px;">}} {{{first-qty|1}}} [[{{{first}}}|<span style="color:#FFFFFF;">{{{first}}}</span>]]{{#if: {{{first-icon|}}}| |</span>}}<br/> | + | {{!-}} |
+ | {{!}} colspan=3 {{!}} {{#if: {{{first-icon|}}}|[[File:{{{first-icon}}}|20px|link={{{first}}}]]|<span style="padding-left:26px;">}} {{{first-qty|1}}} [[{{{first}}}|<span style="color:#FFFFFF;">{{{first}}}</span>]]{{#if: {{{first-icon|}}}| |</span>}} <br/><!-- | ||
+ | --> {{#if: {{{first2|}}} | {{#if: {{{first2-icon|}}}|[[File:{{{first2-icon}}}|20px|link={{{first2}}}]]|<span style="padding-left:26px;">}} {{{first2-qty|1}}} [[{{{first2}}}|<span style="color:#FFFFFF;">{{{first2}}}</span>]]{{#if: {{{first2-icon|}}}| |</span>}} <br/> }} | ||
}} | }} | ||
|} | |} | ||
Line 111: | Line 116: | ||
|} | |} | ||
|} | |} | ||
+ | <noinclude> | ||
+ | |||
+ | {{Documentation}} | ||
+ | |||
+ | </noinclude> | ||
<noinclude> | <noinclude> | ||
Line 122: | Line 132: | ||
|first= Bag | |first= Bag | ||
|first-icon= Blue Bag.jpg | |first-icon= Blue Bag.jpg | ||
+ | |first2= Pet | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 22:56, 30 October 2017
|
| ||||||||||||||||||||||||||||
|
|
This is the template sandbox page for Template:Report (diff). |
This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox subpage, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Usage
Use on Category:Missions pages to display the message received from agents handlers as well as the rewards received
Standard usage for a SWL mission: (not all parameters are shown, see below)
{{reward |content= SWL |dragon-report= |illuminati-report= |templar-report= |xp= |shards= |swl-weapon= |swl-talisman= |swl-glyph= |swl-key= |swl-dossier= |first= |other= |other-icon= }}
Standard usage for a TSW mission: (not all parameters are shown, see below)
{{reward |content= TSW |dragon-report= |illuminati-report= |templar-report= |xp= |bullion= |pax= |other= |other-icon= }}
Parameters
Common Parameters
These parameters are common to both SWL and TSW usage:
Parameter Name | Required | Description | Accepted Values |
Default |
---|---|---|---|---|
name | Yes | Name of the mission | text | |
content | No | Is this for SWL or TSW | "TSW", "SWL" | TSW |
faction | No | If this is a report for a faction-specific mission, use this to only display the report box for the appropriate faction | "Dragon", "Illuminati", "Templar" | |
dragon-from illuminati-from templar-from |
No | If the report comes from anyone other than default use these parameters to specify | text | Dragon = The Dragon Illuminati = The Labyrinth Templar = Temple Hall |
dragon-subject illuminati-subject templar-subject |
No | If the report subject is anything other than the mission name, enter it here | text | <name parameter> |
all-report | No |
|
"assignment", "generic", <text> | <text> |
dragon-report illuminati-report templar-report |
Yes | Note: Required unless the "all-report" is used instead The text of the message received by characters |
text | |
xp | Yes | Base amount of XP received by players that do the mission "at-level" Do not include Patron or Membership bonus, that will be calculated automatically Enter number value only, no "," (comma) separators if over 1000 |
Number | |
xp1 ... xp30 |
No | If XP is awarded at various tiers in the mission, you can use this to indicate how much XP is awarded per tier. On longer (Story) missions that only give XP on some tiers, you can use only the ones needed for Tiers that have XP |
Number | |
bonus-xp | No | If the Patron or Membership XP bonus is anything other than default value enter the % value here as an decimal Example - 10% = .1, 20% = .2, etc |
Number | "content=SWL" = .1 "content=TSW" = .3 |
other other2 other3 other4 |
No | Any other rewards received if not listed by other parameters. Use other2, other3, other4 if there are multiple other items Note: Use the "Choose" parameter if you choose 1 from multiple rewards |
Text | |
other-qty other2-qty other3-qty other4-qty |
No | If the quantity of the 'other' reward is more than 1, use this to indicate the quantity | Number | 1 |
other-icon other2-icon other3-icon other4-icon |
No | If there is an icon for the 'other' reward, enter the file name. Do not use wiki bracket markup | <filename>.<extension> | |
other-desc other2-desc other3-desc other4-desc |
No | If you want a descriptive name for the 'other' item beyond the link to its page, enter it here | Text | |
first first2 |
No | If there is a first-time completion rewards, use these to enter the name of the reward here Do not use wiki markup to make a link |
Item Name | |
first-icon first2-icon |
No | If there is an icon for the first-time completion rewards, enter it here Do not use wiki markup to link the image |
<filename>.<extension> | |
first-qty first2-qty |
No | If the quantity of the first-time completion rewards is more than 1, use this to indicate the quantity | Number | 1 |
choose-desc | No | If the reward allows you to choose an item from among other items, use this to describe what the items are example - [[QL]]3 Occult [[Talisman]]s |
text | |
choose1 ... choose9 |
No | Use these to indicate the possible choices. For each item (up to 9) enter the item name |
<item name> |
SWL Specific
These parameters are only used when "content=SWL"
Parameter Name | Required | Description | Accepted Values |
Default |
---|---|---|---|---|
shards | Yes | Base amount of Anima Shards received by players in SWL. Enter 0 if none. Enter number value only, no "," (comma) separators if over 1000 Do not include Patron bonus, that will be calculated automatically |
Number | |
bonus-shards | No | If the Patron bonus of Anima Shards is anything other than +15% enter the % value here as a decimal Example - 10% = .1, 15% = .15, etc |
Number | .15 |
swl-weapon | No | Number of Weapon Reward Bags received by players | Number | |
swl-talisman | No | Number of Talisman Reward Bags received by players | Number | |
swl-glyph | No | Number of Glyph Reward Bags received by players | Number | |
swl-key | No | Number of Filth-Encrusted Container Key received by players | Number | |
swl-item | No | Number of Item Reward Bags received by players | Number | |
swl-dossier | No | Number of Agent Dossiers received by players | Number |
TSW Specific
These parameters are only used when "content=TSW"
Parameter Name | Required | Description | Accepted Values |
Default |
---|---|---|---|---|
bullion | Yes | Base amount of Black Bullion received by players in TSW. Enter 0 if none. Enter number value only, no "," (comma) separators if over 1000 Do not include Membership bonus, that will be calculated automatically |
Number | |
bonus-bullion | No | If the Membership bonus of Black Bullions is anything other than +15% enter the % value here as a decimal Example - 10% = .1, 15% = .15, etc |
Number | .15 |
pax | Yes | Base amount of Pax Romana received by players in TSW Enter 0 if none. Enter number value only, no "," (comma) separators if over 1000 |
Number | |
sequin | Yes | Enter number of sequins received in TSW | Text |
The above documentation is transcluded from Template:Report/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
|
| ||||||||||||||||||||||||||||||||||
|
|