Difference between revisions of "Template:Groupevents"
m |
m |
||
(60 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <!-- | + | <!--Might still be buggy--> |
− | + | <table style="float:right; clear:right; background:white; margin:0.5em 0px 0.5em 1em; border:1px solid #aaa; font-size:90%; border-spacing:2px" width="315px"> | |
− | + | <tr><td> | |
− | + | <table style="float:right; clear:right; width:100%; margin:0; padding:0"> | |
− | + | <tr> | |
− | + | <th colspan="2" width="100%" style="color:white;background-color:#{{groupeventsheader|{{{Type}}}}};font-size:110%" vertical-align= "middle" text-align="center"> | |
− | + | <p style="margin:0">{{{Name|{{BASEPAGENAME}}}}}</p> | |
− | + | </th> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <th colspan="2" width="100%" style="color:black;background-color:#DCDCDC;font-size:110%; vertical-align:middle" text-align="center"> | |
− | + | <p style="margin:0">{{groupeventsheader|{{{Arc}}}}}</p> | |
− | |} | + | </th> |
− | | | + | </tr> |
− | + | {{#if:{{{Notimeline|}}} | |
− | + | ||<tr> | |
+ | <td colspan="1" align="left">← {{{Prev}}}</td><td colspan="1" align="right">{{{Next}}} →</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | </tr>}} | ||
{{#if:{{{Image|}}} | {{#if:{{{Image|}}} | ||
|<tr> | |<tr> | ||
− | <td>[[File:{{{Image | + | <td colspan="2" align="center" style="border-bottom:1px solid #aaa">[[File:{{{Image}}}|300px]] |
</td> | </td> | ||
− | </tr> | + | </tr>}} |
{{#if:{{{ReleaseDate|}}} | {{#if:{{{ReleaseDate|}}} | ||
|<tr> | |<tr> | ||
Line 30: | Line 34: | ||
<th style="padding-right:1em">End Date</th> | <th style="padding-right:1em">End Date</th> | ||
<td>{{{EndDate}}} | <td>{{{EndDate}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </td> | ||
</tr>}} | </tr>}} | ||
Line 54: | Line 52: | ||
<th style="padding-right:1em">Associated stories</th> | <th style="padding-right:1em">Associated stories</th> | ||
<td>{{{Stories}}} | <td>{{{Stories}}} | ||
+ | </td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{Rewards|}}} | ||
+ | |<tr> | ||
+ | <th style="padding-right:1em">Rewards</th> | ||
+ | <td>{{{Rewards}}} | ||
+ | </td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{Author1|}}} | ||
+ | |<tr> | ||
+ | <th style="padding-right:1em">Author(s)</th> | ||
+ | <td>{{#if:{{{Author1|}}}|<p style="margin:0">{{AuthorsandIllustrators|{{{Author1}}}}}</p>{{#if:{{{Author2|}}}|<p style="margin:0">{{AuthorsandIllustrators|{{{Author2}}}}}</p>{{#if:{{{Author3|}}}|<p style="margin:0">{{AuthorsandIllustrators|{{{Author3}}}}}</p>}}}}}} | ||
+ | </td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{Illustrator1|}}} | ||
+ | |<tr> | ||
+ | <th style="padding-right:1em">Illustrator(s)</th> | ||
+ | <td>{{#if:{{{Illustrator1|}}}|<p style="margin:0">{{AuthorsandIllustrators|{{{Illustrator1}}}}}</p>{{#if:{{{Illustrator2|}}}|<p style="margin:0">{{AuthorsandIllustrators|{{{Illustrator2}}}}}</p>{{#if:{{{Illustrator3|}}}|<p style="margin:0">{{AuthorsandIllustrators|{{{Illustrator3}}}}}</p>}}}}}} | ||
+ | </td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{Links|}}} | ||
+ | |<tr> | ||
+ | <th style="padding-right:1em">Links</th> | ||
+ | <td>{{{Links}}} | ||
</td> | </td> | ||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
− | + | </td></tr></table><noinclude>{{clr}} | |
− | + | {{Template doc}} | |
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 00:07, 15 July 2013
|
Documentation for Groupevents
Used to concentrate the vital information about a Mission, an Event, an official story, or a month's Tasks together.Design derived from Template:Character and Template:Infobox_military_conflict from Wikipedia.
Usage
Add the following lines to the page. Values marked with an asterisk(*) are optional. Others are mandatory.
For further info with the timeline row, and the background color of the title - Which is defined by the Type value of the template, please check Template:Groupeventsheader.
For valid inputs of the Authors and Illustrators row, please refer to Template:AuthorsandIllustrators
{{Groupevents | Type = (Mission/Event/Task/Story/Other, only used to define the background color of the first row, for now) | Image = * (Full image name, e.g. No Icon.png) | Name = (Defaults to BASEPAGENAME) | Arc = (-1,0,1,2, -1=Tao High, 0=Pre-arc, 1=Arc 1, 2=Arc 2) | Notimeline = * (Anything here would remove the timeline row) | Prev = (No effect if Notimeline is set) | Next = (No effect if Notimeline is set) | ReleaseDate = * | EndDate = * | Prologues = * | Epilogues = * | Stories = * | Author1 = * (For stories only. Anything here would enable the Author(s) row. For valid inputs, please refer to Template:AuthorsandIllustrators) | Author2 = * | Author3 = * | Illustrator1 = * (Same as Authors1) | Illustrator2 = * | Illustrator3 = * | Rewards = * | Links = * (Link to deviations and journals here) }}{{clr}}
If table of contents is needed on the page, add __TOC__ before the {{clr}} template to reduce unnecessery whitespace. The same would also apply to any content that would reside in the same section with this header.
Examples
|
|
|
|
|
- This documentation is transcluded from Template:Groupevents/doc.