Difference between revisions of "Template: WebLogs"

From Elder Tale Online MUSH
Jump to: navigation, search
m
m
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#get_web_data:url=https://scene.eldertaleonline.com/api/character/{{{CharacterID|18359}}}|format=json|data=name=Title,desc=Description,id=NodeID,dt=date}}
+
<noinclude>
{| class="wikitable" style="max-width:100%; min-width:100%;"
+
This is the "WebLogs" template.
 +
It should be called in the following format:
 +
<pre>
 +
{{WebLogs
 +
|CharacterID=
 +
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
</noinclude><includeonly>{{#get_web_data:url=https://scene.eldertaleonline.com/api/character/{{{CharacterID|18359}}}|format=json|data=name=Title,desc=Description,id=NodeID,dt=date}}
 +
{| class="wikitable mw-collapsible mw-collapsed" style="max-width:100%; min-width:100%;"
 
! Name
 
! Name
!style="max-width:300px; max-height:50px; height:50px;"| Description
+
! Date
! Date{{#for_external_table:<nowiki/>
+
! Summary{{#for_external_table:<nowiki/>
 
{{!}}-
 
{{!}}-
{{!}} [https://scene.eldertaleonline.com/{{{id}}} {{{name}}}]
+
{{!}}style="min-width:25em" {{!}} [https://scene.eldertaleonline.com/{{{id}}} {{{name}}}]
{{!}}style="max-height:50px; height:50px; max-width:300px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"{{!}} {{{desc}}}
+
{{!}}style="min-width:10em" {{!}}{{{dt}}}
{{!}} {{{dt}}}}}
+
{{!}}<div style="max-width:800px; max-height:1.5em; text-overflow: ellipsis; white-space: pre-wrap; overflow: hidden; display:block;"> {{{desc}}}</div>
 +
}}
 
|}
 
|}
 +
</includeonly>

Latest revision as of 22:41, 26 July 2020

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

{{WebLogs
|CharacterID=
}}

Edit the page to see the template text.