Actions

Template

Difference between revisions of "ArcInfoBox"

m (Removed times)
m (Spacing)
 
Line 1: Line 1:
<includeonly>
+
<includeonly>{{EventInfoBox|title={{{title|}}}|image={{{image|}}}|locations={{{locations|}}}|groups={{{groups|}}}|previousEvent={{{previousArc|}}}|nextEvent={{{nextArc|}}}|startDate={{{startDate|}}}|endDate={{{endDate|}}}|type=arc|extraContent={{#if: startIncident|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Inciting Incident</b>:</td><td>{{{startIncident|}}}</td></tr>}}{{#if: endIncident|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Concluding Incident</b>:</td><td>{{{endIncident|}}}</td></tr>}}{{#if: events|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Notable Incidents</b>:</td><td>{{{events|}}}</td></tr>}}}}</includeonly><noinclude>{{ArcInfoBox|title=A test Arc|image=byAllah.jpg|locations=[[Test City]], [[Test village]]|groups=[[Test Group]], [[Test Party]]|previousArc=[[Some previous arc]]|nextArc=[[The next arc]]|startDate=6/9/42|endDate=6/9/69|startTime=18:00|endTime=19:00|startIncident=[[Starting Incident]]|endIncident=[[Ending Incident]]|events=[[Event A]], [[Event B]]}}<templatedata>{"params": {"title": {"label": "Title","description": "The name of the story arc","type": "string","required": true},"image": {"label": "Image","description": "An image to describe the Arc","type": "wiki-file-name"},"locations": {"label": "Locations","description": "Any locations the arc took place in","example": "Tala Rane","type": "string"},"groups": {"label": "Groups","description": "Any groups involved with the story arc","example": "Templar Order","type": "string"},"previousArc": {"label": "Previous Arc","description": "The arc chronologically before this story arc","type": "wiki-page-name"},"nextArc": {"label": "Next Arc","description": "The arc chronologically after this story arc","type": "wiki-page-name"},"startDate": {"label": "Start Date","description": "The date the story arc began","type": "string","required": true},"endDate": {"label": "Finish Date","description": "The date the story arc concluded","type": "string"},"startIncident": {"label": "Inciting Incident","description": "The Incident that started this story arc","type": "wiki-page-name","required": true},"endIncident": {"label": "Concluding Incident","description": "The incident that ended this story arc","type": "wiki-page-name","suggested": true},"events": {"label": "Incidents","description": "Any other notable incidents","type": "string"}},"description": "This is how the arc infobox should look"}</templatedata></noinclude>
{{EventInfoBox
 
|title={{{title|}}}
 
|image={{{image|}}}
 
|locations={{{locations|}}}
 
|groups={{{groups|}}}
 
|previousEvent={{{previousArc|}}}
 
|nextEvent={{{nextArc|}}}
 
|startDate={{{startDate|}}}
 
|endDate={{{endDate|}}}
 
|type=arc
 
|extraContent=
 
{{#if: startIncident|
 
    <tr>
 
        <td class="infoboxtd1strow" style="padding: 10px;"><b>Inciting Incident</b>:</td>
 
        <td>{{{startIncident|}}}</td>
 
    </tr>
 
}}
 
{{#if: endIncident|
 
    <tr>
 
        <td class="infoboxtd1strow" style="padding: 10px;"><b>Concluding Incident</b>:</td>
 
        <td>{{{endIncident|}}}</td>
 
    </tr>
 
}}
 
{{#if: events|
 
    <tr>
 
        <td class="infoboxtd1strow" style="padding: 10px;"><b>Notable Incidents</b>:</td>
 
        <td>{{{events|}}}</td>
 
    </tr>
 
}}
 
}}
 
</includeonly>
 
<noinclude>
 
{{ArcInfoBox
 
|title=A test Arc
 
|image=byAllah.jpg
 
|locations=[[Test City]], [[Test village]]
 
|groups=[[Test Group]], [[Test Party]]
 
|previousArc=[[Some previous arc]]
 
|nextArc=[[The next arc]]
 
|startDate=6/9/42
 
|endDate=6/9/69
 
|startTime=18:00
 
|endTime=19:00
 
|startIncident=[[Starting Incident]]
 
|endIncident=[[Ending Incident]]
 
|events=[[Event A]], [[Event B]]
 
}}
 
<templatedata>
 
{
 
"params": {
 
"title": {
 
"label": "Title",
 
"description": "The name of the story arc",
 
"type": "string",
 
"required": true
 
},
 
"image": {
 
"label": "Image",
 
"description": "An image to describe the Arc",
 
"type": "wiki-file-name"
 
},
 
"locations": {
 
"label": "Locations",
 
"description": "Any locations the arc took place in",
 
"example": "Tala Rane",
 
"type": "string"
 
},
 
"groups": {
 
"label": "Groups",
 
"description": "Any groups involved with the story arc",
 
"example": "Templar Order",
 
"type": "string"
 
},
 
"previousArc": {
 
"label": "Previous Arc",
 
"description": "The arc chronologically before this story arc",
 
"type": "wiki-page-name"
 
},
 
"nextArc": {
 
"label": "Next Arc",
 
"description": "The arc chronologically after this story arc",
 
"type": "wiki-page-name"
 
},
 
"startDate": {
 
"label": "Start Date",
 
"description": "The date the story arc began",
 
"type": "string",
 
"required": true
 
},
 
"endDate": {
 
"label": "Finish Date",
 
"description": "The date the story arc concluded",
 
"type": "string"
 
},
 
"startIncident": {
 
"label": "Inciting Incident",
 
"description": "The Incident that started this story arc",
 
"type": "wiki-page-name",
 
"required": true
 
},
 
"endIncident": {
 
"label": "Concluding Incident",
 
"description": "The incident that ended this story arc",
 
"type": "wiki-page-name",
 
"suggested": true
 
},
 
"events": {
 
"label": "Incidents",
 
"description": "Any other notable incidents",
 
"type": "string"
 
}
 
},
 
"description": "This is how the arc infobox should look"
 
}
 
</templatedata>
 
</noinclude>
 

Latest revision as of 19:00, 28 November 2020

A test Arc
ByAllah.jpg
Notable Locations: Test City, Test village
Involved Groups: Test Group, Test Party
Preceding Arc: Some previous arc
Succeeding Arc: The next arc
Start Date: 6/9/42
End Date: 6/9/69
Inciting Incident:Starting Incident
Concluding Incident:Ending Incident
Notable Incidents:Event A, Event B

This is how the arc infobox should look

Template parameters

ParameterDescriptionTypeStatus
Titletitle

The name of the story arc

Stringrequired
Imageimage

An image to describe the Arc

Fileoptional
Locationslocations

Any locations the arc took place in

Example
Tala Rane
Stringoptional
Groupsgroups

Any groups involved with the story arc

Example
Templar Order
Stringoptional
Previous ArcpreviousArc

The arc chronologically before this story arc

Pageoptional
Next ArcnextArc

The arc chronologically after this story arc

Pageoptional
Start DatestartDate

The date the story arc began

Stringrequired
Finish DateendDate

The date the story arc concluded

Stringoptional
Inciting IncidentstartIncident

The Incident that started this story arc

Pagerequired
Concluding IncidentendIncident

The incident that ended this story arc

Pagesuggested
Incidentsevents

Any other notable incidents

Stringoptional