User:Medyro/Template/Scope table row
Usage[edit]
Parameters[edit]
unnamed parameter 1[edit]
A 10 character long "bytemap" specifing the requieremnt of the Scopes. Each character coresponds to one Scope. If the character for a Scope is r it is deemed requiered, if it is o it is deemed optional and if it is n or x it is deemed not to to be requiered as well as not to provide additional data if present. Declarations made with n will show up as cells whereas ones made with x will not. The order of Scopes is formally specified by the corresponding preceding header Template.
# | Scope |
---|---|
0 | account |
1 | builds |
2 | characters |
3 | guilds |
4 | inventories |
5 | progression |
6 | pvp |
7 | tradingpost |
8 | unlocks |
9 | wallet |
e.g. rxxnxoxxxx
- Account is requiered. Progression provides this additional Data. Guilds does not provide this optional Data but should be included since it does provide Data elsewhere. (This for example describes the fractal_level
, daily_ap
, monthly_ap
and wvw_rank
Fields in the response from API:2/account)
e.g. rxxoxnxxxx
- Account is requiered. Guilds provides this additional Data. Progression does not provide this optional Data but should be included since it does provide Data elsewhere. (This for example describes the guild_leader
Field in the response from API:2/account)
unnamed parameter 2[edit]
The response Data provided.
Examples[edit]
{| id="exampletableid" class="wikitable" ! Account ! Guilds ! Progression ! Response {{User:Medyro/Template/Scope table row|rxxnxoxxxx|exampletableresponse}} |}
Account | Guilds | Progression | Response |
---|---|---|---|
1 | 0 | 1 | exampletableresponse |
{| id="exampletableid" class="wikitable" ! Account ! Guilds ! Progression ! Response {{User:Medyro/Template/Scope table row|xxxnxoxxxx|exampletableresponse}} |}
Account | Guilds | Progression | Response |
---|---|---|---|
0 | 1 | exampletableresponse |
Notes[edit]
Templates do not expand when used inside pre Tags hence it would be requiered to specify them when passing arguments to this Template which might make these Templates useless for general use.
{| id="exampletableid" class="wikitable" ! Account ! Guilds ! Progression ! Response {{User:Medyro/Template/Scope table row|rxxnxoxxxx|<pre style="background-color:transparent; border:0px; padding:0px; margin:0px;"> "fractal_level": 100, "daily_ap": 7659, "monthly_ap": 1129, "wvw_rank": 514</pre>}} |}
Account | Guilds | Progression | Response |
---|---|---|---|
1 | 0 | 1 | "fractal_level": 100, "daily_ap": 7659, "monthly_ap": 1129, "wvw_rank": 514 |