Difference between revisions of "Template:CastleStories"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>@DeletedUser41383047
m
>Boblers
(embedding navbox into template)
 
(40 intermediate revisions by 5 users not shown)
Line 7: Line 7:
 
|Event=String
 
|Event=String
 
|ReleaseDate=Date
 
|ReleaseDate=Date
|FeaturedCharacters=List (,) of String
+
|FeaturedCharacters=List (,) of Wikitext
 
|Summary=Wikitext (size=3000)
 
|Summary=Wikitext (size=3000)
 
}}<!--
 
}}<!--
  
--></noinclude><includeonly><!--
+
--></noinclude><includeonly>{{#widget:Template/CastleStories/css}}<!--
  
 
-->{{#cargo_store:
 
-->{{#cargo_store:
Line 18: Line 18:
 
|Title={{{Title|}}}
 
|Title={{{Title|}}}
 
|Event={{{Event|}}}
 
|Event={{{Event|}}}
|ReleaseDate={{{ReleaseDate|}}}
+
|ReleaseDate={{#time:F d, Y|{{{ReleaseDate|}}}}}
 
|FeaturedCharacters={{{FeaturedCharacters|}}}
 
|FeaturedCharacters={{{FeaturedCharacters|}}}
 
|Summary={{{Summary|}}}
 
|Summary={{{Summary|}}}
Line 25: Line 25:
 
<div class="panel" style="max-width:850px;margin:auto">
 
<div class="panel" style="max-width:850px;margin:auto">
 
<div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;overflow:hidden">
 
<div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;overflow:hidden">
 +
<div class="panel-heading" style="padding:1em;">
 +
<div>[[File:{{{Id|}}}.png|600px|link=]]</div>
 +
</div>
 
</div>
 
</div>
 
<div style="flex-grow:1;text-align:center; padding:1em;">
 
<div style="flex-grow:1;text-align:center; padding:1em;">
 
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">'''{{{Title|}}}'''</p>
 
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">'''{{{Title|}}}'''</p>
{{{quotes|}}}
+
<div style="text-align:left">
 
 
 
* Related Event: [[{{{Event|}}}]]
 
* Related Event: [[{{{Event|}}}]]
* Release Date: {{{ReleaseDate|}}}
+
* Release Date: {{#time:F d, Y|{{{ReleaseDate|}}}}}
 
* Featured Characters: {{{FeaturedCharacters|}}}
 
* Featured Characters: {{{FeaturedCharacters|}}}
* Id: {{{Id|}}}
 
  
{{StylizedHeader|Summary}}
+
<div style="flex-grow:1;text-align:center; padding:1em;">
{{{Summary|}}}
+
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Dialogue</p>
 +
<div class="castlestory-dialogue"><div>{{{Dialogue|}}}
  
{{StylizedHeader|Dialogue}}
+
</div><!--
{{{Dialogue|}}}
+
This extra div is apparently needed for stuff to work right. Just leave it. Also, the above line break is needed to make sure the last line doesn't wrap improperly.
 +
--></div>
 +
</div>
 +
</div>
 +
</div>
 +
</div>
 +
{{Castle Stories navbox}}
 
[[Category:Castle Stories]]</includeonly>
 
[[Category:Castle Stories]]</includeonly>

Latest revision as of 06:52, 17 July 2020

50px Documentation
{{CastleStories
|Id=
|Title=
|Event=
|ReleaseDate=
|FeaturedCharacters=
|Summary=
|Dialogue=
}}

This template defines the table "CastleStories". This table has not been created yet.