Difference between revisions of "Template:Groupevents"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
m (Programming by permutation...Again.)
m
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<!--Might still be buggy-->
 
<!--Might still be buggy-->
<table style="float:right; clear:right; background:white; margin:0; padding:0; border:1px solid #aaa;font-size:90%" width="315px" border-spacing="2px">
+
<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>
 
<tr><td>
 
<table style="float:right; clear:right; width:100%; margin:0; padding:0">
 
<table style="float:right; clear:right; width:100%; margin:0; padding:0">
 
<tr>
 
<tr>
<th colspan="2" width="100%" style="color:white;background-color:#{{groupeventsheader|{{{Type}}}}};font-size:110%" vertical-align= "middle"; text-align="center">
+
<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>
 
<p style="margin:0">{{{Name|{{BASEPAGENAME}}}}}</p>
 
</th>
 
</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th colspan="2" width="100%" style="color:black;background-color:#DCDCDC;font-size:110%" vertical-align= "middle"; text-align="center">
+
<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>
 
<p style="margin:0">{{groupeventsheader|{{{Arc}}}}}</p>
 
</th>
 
</th>
 +
</tr>
 
{{#if:{{{Notimeline|}}}
 
{{#if:{{{Notimeline|}}}
 
||<tr>
 
||<tr>
Line 62: Line 63:
 
|<tr>
 
|<tr>
 
<th style="padding-right:1em">Author(s)</th>
 
<th style="padding-right:1em">Author(s)</th>
<td>{{AuthorsandIllustrators|{{{Author1}}}}}{{#if:{{{Author2|}}}<br>{{AuthorsandIllustrators|{{{Author2}}}}}{{#if:{{{Author3|}}}<br>{{AuthorsandIllustrators|{{{Author3}}}}}}}}}
+
<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>
 
</td>
 
</tr>}}
 
</tr>}}
Line 68: Line 69:
 
|<tr>
 
|<tr>
 
<th style="padding-right:1em">Illustrator(s)</th>
 
<th style="padding-right:1em">Illustrator(s)</th>
<td>{{AuthorsandIllustrators|{{{Illustrator1}}}}}{{#if:{{{Illustrator2|}}}<br>{{AuthorsandIllustrators|{{{Illustrator2}}}}}{{#if:{{{Illustrator3|}}}<br>{{AuthorsandIllustrators|{{{Illustrator3}}}}}}}}}
+
<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>
 
</td>
 
</tr>}}
 
</tr>}}
Line 78: Line 79:
 
</tr>}}
 
</tr>}}
 
</table>
 
</table>
</td></tr></table>
+
</td></tr></table><noinclude>{{clr}}
 
 
<noinclude>{{clr}}
 
 
{{Template doc}}
 
{{Template doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:07, 15 July 2013

Groupevents

← {{{Prev}}}{{{Next}}} →

Template:Clr

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

Mission 8 (Present)

Part of Arc 2

Event 7 (Present)TBA →
Release Date Mar 8th, 2013
End Date Apr 28th, 2013
Prologues Part 1: Living Memories
Part 2: Sissy
Part 3: A Troubled Past
Part 4: A Dark Future
Epilogues TBA
Associated stories Scars and Regrets
Rewards TBA
Links Rescuers
Merchants
Rogues


Event 4 - Snowflake Gifts

Part of Arc 1: Snowflake Tears

Mission 4Mission 5
Release Date Nov 24th, 2011
End Date Dec 25th, 2011
Rewards 1 Evolution Scroll
Links Event 4 - Snowflake Gifts


March Tasks 2013

Part of Arc 2

Event 7 (Present)Mission 8 (Present)
March tasks 2013.jpg
Release Date Mar 1st, 2013
End Date Apr 1st, 2013
Rewards See Task page
Links Journal
Flash


Scars and Regrets

Part of Arc 2

Event 7 (Past)Mission 8 (Past)
Release Date Feb 12th, 2013
Author(s)

Luvaci

Illustrator(s)

PurpleKecleon

Links Original


"Mission 1 Reboot"

Part of Tao High

TH M1Reboot.jpg
Release Date Apr 1st, 2013
End Date May 15th, 2013
Prologues Mission 1 the Reboot
Epilogues TBA
Rewards See Mission page
Links Journal
Flash

Template:Clr

Icon Blaine.png This documentation is transcluded from Template:Groupevents/doc.