Template:PlayerData/doc: Difference between revisions
(Clean-up) |
(Changes to link parameters) |
||
| Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
A notice template that is intended to be used before the presentation of data that was collected by players of Pawborough. | A notice template that is intended to be used before the presentation of data that was collected by the players of Pawborough. | ||
On person of contact is required. Up to 3 persons to contact may be added. Discord contact is optional, but Pawborough ID and Username are not. A Pawborough forum thread link must be included. 3 additional important links may be added. These should be relevant external links such as any spreadsheets, and input forms. | |||
Pages in the Main namespace that call upon this template are added to [[:Category:Includes Player Data]], and if the parameter <code>|outdated=</code> is set as true pages are additionally added to [[:Category:Outdated Player Data]]. | Pages in the Main namespace that call upon this template are added to [[:Category:Includes Player Data]], and if the parameter <code>|outdated=</code> is set as true pages are additionally added to [[:Category:Outdated Player Data]]. | ||
| Line 8: | Line 10: | ||
|outdated= | |outdated= | ||
|thread= | |thread= | ||
| | |link1= | ||
| | |link2= | ||
|link3= | |||
|id1= | |id1= | ||
|user1= | |user1= | ||
| Line 28: | Line 31: | ||
|outdated=y | |outdated=y | ||
|thread=https://pawborough.wiki/wiki/Main_Page | |thread=https://pawborough.wiki/wiki/Main_Page | ||
| | |link1=[https://pawborough.wiki/wiki/Main_Page Main Page] | ||
| | |link2=[https://pawborough.wiki/wiki/Main_Page Main Page] | ||
|link3=[https://pawborough.wiki/wiki/Main_Page Main Page] | |||
|id1=1 | |id1=1 | ||
|user1=Username | |user1=Username | ||
| Line 37: | Line 41: | ||
|outdated=y | |outdated=y | ||
|thread=https://pawborough.wiki/wiki/Main_Page | |thread=https://pawborough.wiki/wiki/Main_Page | ||
| | |link1=[https://pawborough.wiki/wiki/Main_Page Main Page] | ||
| | |link2=[https://pawborough.wiki/wiki/Main_Page Main Page] | ||
|link3=[https://pawborough.wiki/wiki/Main_Page Main Page] | |||
|id1=1 | |id1=1 | ||
|user1=Username | |user1=Username | ||
| Line 70: | Line 75: | ||
"params": { | "params": { | ||
"outdated": { | "outdated": { | ||
"description": "If set | "description": "If set to \"true\" or \"yes\" , it'll mark the page as containing outdated player data. The box will also turn purple to be visually distinct from up-to-date player data.", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"y", | "y", | ||
| Line 94: | Line 99: | ||
"id3": {}, | "id3": {}, | ||
"discord3": {}, | "discord3": {}, | ||
"link1": { | |||
"description": "Important link 1.", | |||
"example": "[https://pawborough.wiki/wiki/Main_Page Main Page]" | |||
}, | |||
"link2": { | |||
"description": "Important link 2." | |||
}, | |||
"link3": { | |||
"description": "Important link 3." | |||
}, | |||
"thread": { | "thread": { | ||
"description": "Link to the Pawborough thread.", | "description": "Link to the Pawborough thread. Should only be the link alone.", | ||
"example": "https://pawborough. | "example": "https://pawborough.wiki/wiki/Main_Page", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
| Line 109: | Line 118: | ||
"outdated", | "outdated", | ||
"thread", | "thread", | ||
" | "link1", | ||
" | "link2", | ||
"link3", | |||
"id1", | "id1", | ||
"user1", | "user1", | ||
Latest revision as of 02:24, 9 May 2026
Usage
A notice template that is intended to be used before the presentation of data that was collected by the players of Pawborough.
On person of contact is required. Up to 3 persons to contact may be added. Discord contact is optional, but Pawborough ID and Username are not. A Pawborough forum thread link must be included. 3 additional important links may be added. These should be relevant external links such as any spreadsheets, and input forms.
Pages in the Main namespace that call upon this template are added to Category:Includes Player Data, and if the parameter |outdated= is set as true pages are additionally added to Category:Outdated Player Data.
Syntax
{{PlayerData
|outdated=
|thread=
|link1=
|link2=
|link3=
|id1=
|user1=
|discord1=
|id2=
|user2=
|discord2=
|id3=
|user3=
|discord3=
}}
Examples
- (#{{{id1}}}) on Pawborough
{{PlayerData}}
- Username (#1) on Pawborough, or John Doe on Discord
{{PlayerData
|outdated=y
|thread=https://pawborough.wiki/wiki/Main_Page
|link1=[https://pawborough.wiki/wiki/Main_Page Main Page]
|link2=[https://pawborough.wiki/wiki/Main_Page Main Page]
|link3=[https://pawborough.wiki/wiki/Main_Page Main Page]
|id1=1
|user1=Username
|discord1=John Doe
}}
- Username (#1) on Pawborough, or John Doe on Discord
- Username (#2) on Pawborough
- Username (#3) on Pawborough, or John Doe on Discord
{{PlayerData
|thread=https://pawborough.wiki/wiki/Main_Page
|id1=1
|user1=Username
|discord1=John Doe
|id2=2
|user2=Username
|id3=3
|user3=Username
|discord3=John Doe
}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| outdated | outdated | If set to "true" or "yes" , it'll mark the page as containing outdated player data. The box will also turn purple to be visually distinct from up-to-date player data.
| Unknown | optional |
| thread | thread | Link to the Pawborough thread. Should only be the link alone.
| Unknown | required |
| link1 | link1 | Important link 1.
| Unknown | optional |
| link2 | link2 | Important link 2. | Unknown | optional |
| link3 | link3 | Important link 3. | Unknown | optional |
| id1 | id1 | Pawborough ID of the first person to contact. | Unknown | required |
| user1 | user1 | Pawborough Username of the first person to contact. | Unknown | required |
| discord1 | discord1 | Discord username of the first person to contact, optional. | Unknown | optional |
| id2 | id2 | no description | Unknown | optional |
| user2 | user2 | no description | Unknown | optional |
| discord2 | discord2 | no description | Unknown | optional |
| id3 | id3 | no description | Unknown | optional |
| user3 | user3 | no description | Unknown | optional |
| discord3 | discord3 | no description | Unknown | optional |
