Шаблон:Pact Supply Network Agent row
Материал из Guild Wars 2 wiki
|- style="" title="" | 2018/11/19 | Haymal Gore||Garenhoff||Lionguard Waystation Waypoint||Restoration Refuge||Rally Waypoint||Ridgerock Camp Waypoint
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 |
2018/11/18 | Snow Ridge Camp Waypoint | Garenhoff | Mabon Waypoint | Azarr's Arbor | Fort Trinity Waypoint | Blue Ice Shining Waypoint |
2018/11/19 | Haymal Gore | Garenhoff | Lionguard Waystation Waypoint | Restoration Refuge | Rally Waypoint | Ridgerock Camp Waypoint |
2018/11/20 | Temperus Point Waypoint | Garenhoff | Desider Atum Waypoint | Camp Resolve Waypoint | Waste Hollows Waypoint | Travelen's Waypoint |
2018/11/21 | Ferrusatos Village | Altar Brook Trading Post | Swampwatch Post | Town of Prosperity | Caer Shadowfain | Mennerheim |
2018/11/22 | Village of Scalecatch Waypoint | Altar Brook Trading Post | Wendon Waypoint | Blue Oasis | Fort Trinity Waypoint | Rocklair |
2018/11/23 | Hawkgates Waypoint | Pearl Islet Waypoint | Bard's Waypoint | Repair Station | Shelter Docks | Dolyak Pass Waypoint |
2018/11/24 | Bovarin Estate | Altar Brook Trading Post | Gallant's Folly | Camp Resolve Waypoint | Augur's Torch | Balddistead |
2018/11/25 | Snow Ridge Camp Waypoint | Garenhoff | Mabon Waypoint | Azarr's Arbor | Fort Trinity Waypoint | Blue Ice Shining 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 |
---|---|
2018/11/18 | Snow Ridge Camp Waypoint |
2018/11/19 | Haymal Gore |
2018/11/20 | Temperus Point Waypoint |
2018/11/21 | Ferrusatos Village |
2018/11/22 | Village of Scalecatch Waypoint |
2018/11/23 | Hawkgates Waypoint |
2018/11/24 | Bovarin Estate |
2018/11/25 | Snow Ridge Camp Waypoint |