Difference between revisions of "Template:CastleStories"
Jump to navigation
Jump to search
imported>Elaeagnifolia (Created page with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly> '''{{{Title|}}}''' * Related Event: {{{Event|}}} * Release Date: {{{ReleaseDate|}}} * Featured Characters: {...") |
>Boblers (embedding navbox into template) |
||
| (110 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <noinclude>{{doc}}[[Category:Templates]]< | + | <noinclude>{{doc}}[[Category:Templates]]<!-- |
| − | |||
| − | * Related Event: {{{Event|}}} | + | -->{{#cargo_declare: |
| − | * Release Date: {{{ReleaseDate|}}} | + | _table=CastleStories |
| + | |Id=String | ||
| + | |Title=String | ||
| + | |Event=String | ||
| + | |ReleaseDate=Date | ||
| + | |FeaturedCharacters=List (,) of Wikitext | ||
| + | |Summary=Wikitext (size=3000) | ||
| + | }}<!-- | ||
| + | |||
| + | --></noinclude><includeonly>{{#widget:Template/CastleStories/css}}<!-- | ||
| + | |||
| + | -->{{#cargo_store: | ||
| + | _table=CastleStories | ||
| + | |Id={{{Id|}}} | ||
| + | |Title={{{Title|}}} | ||
| + | |Event={{{Event|}}} | ||
| + | |ReleaseDate={{#time:F d, Y|{{{ReleaseDate|}}}}} | ||
| + | |FeaturedCharacters={{{FeaturedCharacters|}}} | ||
| + | |Summary={{{Summary|}}} | ||
| + | }}<!-- | ||
| + | --> | ||
| + | <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-heading" style="padding:1em;"> | ||
| + | <div>[[File:{{{Id|}}}.png|600px|link=]]</div> | ||
| + | </div> | ||
| + | </div> | ||
| + | <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> | ||
| + | <div style="text-align:left"> | ||
| + | * Related Event: [[{{{Event|}}}]] | ||
| + | * Release Date: {{#time:F d, Y|{{{ReleaseDate|}}}}} | ||
* Featured Characters: {{{FeaturedCharacters|}}} | * Featured Characters: {{{FeaturedCharacters|}}} | ||
| − | {{ | + | <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">Dialogue</p> |
| − | </includeonly> | + | <div class="castlestory-dialogue"><div>{{{Dialogue|}}} |
| + | |||
| + | </div><!-- | ||
| + | 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> | ||