Difference between revisions of "Template: WebCharacter"

From Elder Tale Online MUSH
Jump to: navigation, search
(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...")
 
m
 
(16 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{WebCharacter
 
{{WebCharacter
|CharacterId=
+
|CharacterID=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
'''Character Id:''' [[Characterid::{{{CharacterId|}}}]]
+
{{#get_web_data:url=http://mush.eldertaleonline.com:7705/characterinfo?character={{{CharacterID|}}}
 +
|format=JSON
 +
|data=Alliance=alliance,Guild=guild,Kingdom=kingdom,Race=race,CharacterType=type,FullName=fullname,Profile=profile,Skills=skills,Source=source,CharacterImage=characterimage,Quote=quote,PrimaryClass=primaryclass,SecondaryClass=secondaryclass,Title=title,Status=status}}
 +
{{Character
 +
|characterid={{{CharacterID|}}}
 +
|Alliance={{#external_value:Alliance}}
 +
|Guild={{#external_value:Guild}}
 +
|Kingdom={{#external_value:Kingdom}}
 +
|Race={{#external_value:Race}}
 +
|PrimaryClass={{#external_value:PrimaryClass}}
 +
|SecondaryClass={{#external_value:SecondaryClass}}
 +
|Title={{#external_value:Title}}
 +
|Character Type={{#external_value:CharacterType}}
 +
|Source={{#external_value:Source}}
 +
|Full Name={{#external_value:FullName}}
 +
|Profile={{#external_value:Profile}}
 +
|Skills={{#external_value:Skills}}
 +
|Quote={{#external_value:Quote}}
 +
|CharacterImage={{#external_value:CharacterImage}}
 +
|Status={{#external_value:Status}}
 +
}}
 +
----
 +
= Scenes =
 +
{{WebLogs | CharacterID={{{CharacterID|}}}}}
 
</includeonly>
 
</includeonly>

Latest revision as of 22:09, 26 July 2020

This is the "WebCharacter" template. It should be called in the following format:

{{WebCharacter
|CharacterID=
}}

Edit the page to see the template text.