Шаблон:Pact Supply Network Agent row
Материал из Guild Wars 2 wiki
Версия от 21:33, 24 января 2016; Blood (обсуждение | вклад) (Новая страница: «{{#if: <!-- hide whitespace --> <!-- Calculate the index, location changes at 8 AM UTC --> {{#vardefine:index|{{#expr: (({{#time: U | {{{date|now}}} {{{1|}}} }} …»)
|- style="" title="" | 2024/05/23 | Ferrusatos Village||Altar Brook Trading Post||Swampwatch Post||Town of Prosperity||Caer Shadowfain||Mennerheim
Description[править]
A template to generate the locations of the Pact Supply Network Agents for a given date or offset. Their location changes at 8 AM every morning.
Parameters[править]
- 1 (unnamed parameter)
- Time offset. e.g. "+1 day".
- date
- A specific date and time to calculate for, e.g. "2015/12/01 09:00". Defaults to "now".
- locations
- A comma separated list of locations you wish to display. Defaults to "ascalon, kryta, maguuma jungle, maguuma wastes, orr, shiverpeaks".
- format
- Formatting options. Defaults to "table". Other options: "links" (displays a row of chat links), "silent" (just calculates variables).
- rowstyle
- Apply html style to the row for the "table" option.
Examples[править]
Example #1[править]
{| {{STDT}} |- ! style="text-align:left; width:300px;" | Date ! style="text-align:left; width:15%" | Ascalon ! style="text-align:left; width:15%" | Kryta ! style="text-align:left; width:15%" | Maguuma Jungle ! style="text-align:left; width:15%" | Maguuma Wastes ! style="text-align:left; width:15%" | Orr ! style="text-align:left; width:15%" | Shiverpeaks |- style="font-size:smaller" | NPCs: | [[Verma Giftrender]] | [[Lady Derwena]] | [[The Fox]] | [[Mehem the Traveled]] | [[Specialist Yana]] | [[Despina Katyn]] |- {{Pact Supply Network Agent row|-1 day|rowstyle=color:#AAA;|rowtitle=Yesterday's locations}} {{Pact Supply Network Agent row|+0 day|rowstyle=background-color:yellow;|rowtitle=Today's locations}} {{Pact Supply Network Agent row|+1 day}} {{Pact Supply Network Agent row|+2 day}} {{Pact Supply Network Agent row|+3 day}} {{Pact Supply Network Agent row|+4 day}} {{Pact Supply Network Agent row|+5 day}} {{Pact Supply Network Agent row|+6 day}} |} ;Today's chat links :{{Pact Supply Network Agent row|format=links}}
Date | Ascalon | Kryta | Maguuma Jungle | Maguuma Wastes | Orr | Shiverpeaks |
---|---|---|---|---|---|---|
NPCs: | Verma Giftrender | Lady Derwena | The Fox | Mehem the Traveled | Specialist Yana | Despina Katyn |
2024/05/22 | Temperus Point Waypoint | Garenhoff | Desider Atum Waypoint | Camp Resolve Waypoint | Waste Hollows Waypoint | Travelen's Waypoint |
2024/05/23 | Ferrusatos Village | Altar Brook Trading Post | Swampwatch Post | Town of Prosperity | Caer Shadowfain | Mennerheim |
2024/05/24 | Village of Scalecatch Waypoint | Altar Brook Trading Post | Wendon Waypoint | Blue Oasis | Fort Trinity Waypoint | Rocklair |
2024/05/25 | Hawkgates Waypoint | Pearl Islet Waypoint | Bard's Waypoint | Repair Station | Shelter Docks | Dolyak Pass Waypoint |
2024/05/26 | Bovarin Estate | Altar Brook Trading Post | Gallant's Folly | Camp Resolve Waypoint | Augur's Torch | Balddistead |
2024/05/27 | Snow Ridge Camp Waypoint | Garenhoff | Mabon Waypoint | Azarr's Arbor | Fort Trinity Waypoint | Blue Ice Shining Waypoint |
2024/05/28 | Haymal Gore | Garenhoff | Lionguard Waystation Waypoint | Restoration Refuge | Rally Waypoint | Ridgerock Camp Waypoint |
2024/05/29 | Temperus Point Waypoint | Garenhoff | Desider Atum Waypoint | Camp Resolve Waypoint | Waste Hollows Waypoint | Travelen's Waypoint |
- Today's chat links
|- style="" title="" | ||||||||||||
Example #2[править]
{| {{STDT|location}} |- ! style="text-align:left; width:300px;" | Date ! style="text-align:left; width:15%" | Location |- {{Pact Supply Network Agent row|-1 day|locations=ascalon|rowstyle=color:#AAA;|rowtitle=Yesterday's locations}} {{Pact Supply Network Agent row|+0 day|locations=ascalon|rowstyle=background-color:yellow;|rowtitle=Today's locations}} {{Pact Supply Network Agent row|+1 day|locations=ascalon}} {{Pact Supply Network Agent row|+2 day|locations=ascalon}} {{Pact Supply Network Agent row|+3 day|locations=ascalon}} {{Pact Supply Network Agent row|+4 day|locations=ascalon}} {{Pact Supply Network Agent row|+5 day|locations=ascalon}} {{Pact Supply Network Agent row|+6 day|locations=ascalon}} |}
Date | Location |
---|---|
2024/05/22 | Temperus Point Waypoint |
2024/05/23 | Ferrusatos Village |
2024/05/24 | Village of Scalecatch Waypoint |
2024/05/25 | Hawkgates Waypoint |
2024/05/26 | Bovarin Estate |
2024/05/27 | Snow Ridge Camp Waypoint |
2024/05/28 | Haymal Gore |
2024/05/29 | Temperus Point Waypoint |