Difference between revisions of "Template: WebLogs"

From Elder Tale Online MUSH
Jump to: navigation, search
(Created page with " {{#get_web_data:url=http://discoursedb.org/GermanyCSV.txt |format=csv with header|data=bordered countries=Borders,population=Population,area=Area,capital=Capital}} * Ge...")
 
m
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
<noinclude>
 
+
This is the "WebLogs" template.
{{#get_web_data:url=http://discoursedb.org/GermanyCSV.txt
+
It should be called in the following format:
    |format=csv with header|data=bordered countries=Borders,population=Population,area=Area,capital=Capital}}
+
<pre>
 
+
{{WebLogs
* Germany borders the following countries:
+
|CharacterID=
{{#arraymap:{{#external_value:bordered countries}}|,|x|[[x]]}}.
+
}}
* Germany has population {{#external_value:population}}.
+
</pre>
* Germany has area {{#external_value:area}}.
+
Edit the page to see the template text.
* Its capital is {{#external_value:capital}}.
+
</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
 +
! Date
 +
! Summary{{#for_external_table:<nowiki/>
 +
{{!}}-
 +
{{!}}style="min-width:25em" {{!}} [https://scene.eldertaleonline.com/{{{id}}} {{{name}}}]
 +
{{!}}style="min-width:10em" {{!}}{{{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.