Difference between revisions of "Template: WebCharacter"
From Elder Tale Online MUSH
Liminality (talk | contribs) (Created page with "<noinclude> This is the "WebCharacter" template. It should be called in the following format: <pre> {{WebCharacter |CharacterId= }} </pre> Edit the page to see the template te...") |
Liminality (talk | contribs) |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{WebCharacter | {{WebCharacter | ||
− | | | + | |CharacterID= |
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | + | {{#get_web_data:url=http://eldertaleonline.com:7705/characterinfo?character={{{CharacterID|}}} | |
+ | |format=JSON | ||
+ | |data=Alliance=alliance,Guild=guild,Race=race,CharacterType=type,FullName=fullname,Profile=profile,Skills=skills}} | ||
+ | {{Character | ||
+ | |characterid={{{CharacterID|}}} | ||
+ | |Alliance={{#external_value:Alliance}} | ||
+ | |Guild={{#external_value:Guild}} | ||
+ | |Race={{#external_value:Race}} | ||
+ | |Character Type={{#external_value:CharacterType}} | ||
+ | |Full Name={{#external_value:FullName}} | ||
+ | |Profile={{#external_value:Profile}} | ||
+ | |Skills={{#external_value:Skills}} | ||
+ | }} | ||
</includeonly> | </includeonly> |
Revision as of 16:44, 28 February 2019
This is the "WebCharacter" template. It should be called in the following format:
{{WebCharacter |CharacterID= }}
Edit the page to see the template text.