Difference between revisions of "Template:Groupevents"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
m
m
 
(69 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- Gonna take a while-->
+
<!--Might still be buggy-->
{| cellpadding = 10 style="float: right"
+
<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">
{| class="infobox" style="float: right; text-align: left; font-size: 95%; line-height: 1.5em; border:1px solid grey"
+
<tr>
|-
+
<th colspan="2" width="100%" style="color:white;background-color:#{{groupeventsheader|{{{Type}}}}};font-size:110%" vertical-align= "middle" text-align="center">
| colspan = 2 |
+
<p style="margin:0">{{{Name|{{BASEPAGENAME}}}}}</p>
{| width="100%" style="color:white;background-color:#{{groupeventsheader|{{{Type}}}}};font-size:112%;"
+
</th>
|-
+
</tr>
! align="center" | {{{Name|{{BASEPAGENAME}}}}}
+
<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>
{| width="100%" style="color:black;background-color:#DCDCDC;font-size:112%;"
+
</th>
|-
+
</tr>
! align="center" | {{groupeventsheader|{{{Arc}}}}}
+
{{#if:{{{Notimeline|}}}
|}
+
||<tr>
|-
+
<td colspan="1" align="left">← {{{Prev}}}</td><td colspan="1" align="right">{{{Next}}} →</td>
| align="left" | <- {{{Prev}}} || align="right" {{{Next}}} ->
+
</tr>
|-
+
<tr>
{{#if:{{{Noimage|}}}||<!--
+
</tr>}}
-->{{!}}colspan=2 {{!}} [[File:{{{Image|{{BASEPAGENAME}}}}}.png|300px]]<!--
+
{{#if:{{{Image|}}}
-->}}
+
|<tr>
|-
+
<td colspan="2" align="center" style="border-bottom:1px solid #aaa">[[File:{{{Image}}}|300px]]
{|<table style="float:right; clear:right; width:100%; margin:0; padding:0; border:0">
+
</td>
 +
</tr>}}
 
{{#if:{{{ReleaseDate|}}}
 
{{#if:{{{ReleaseDate|}}}
 
|<tr>
 
|<tr>
Line 33: Line 34:
 
<th style="padding-right:1em">End Date</th>
 
<th style="padding-right:1em">End Date</th>
 
<td>{{{EndDate}}}
 
<td>{{{EndDate}}}
</td>
 
</tr>}}
 
{{#if:{{{Rewards|}}}
 
|<tr>
 
<th style="padding-right:1em">Rewards</th>
 
<td>{{{Rewards}}}
 
 
</td>
 
</td>
 
</tr>}}
 
</tr>}}
Line 59: Line 54:
 
</td>
 
</td>
 
</tr>}}
 
</tr>}}
</table></td>
+
{{#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>
 +
</tr>}}
 +
</table>
 +
</td></tr></table><noinclude>{{clr}}
 +
{{Template doc}}
 +
</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.