Template:Story: Difference between revisions

From Post-Self
(Add format and image)
(Add stuff for allowing multiple characters/years)
Line 15: Line 15:
| {{{format|Short story}}}
| {{{format|Short story}}}
|-
|-
! Character
! Character{{#if: {{{characters|}}} | s }}
| [[{{{character}}}]]
| {{#if: {{{characters|}}} | {{pipe escape | {{{characters|}}} }} | {{pipe escape | [[{{{character}}}]] }} }}
|-
|-
! Year
! Year{{#if: {{{years|}}} | s }}
| {{{year}}}
| {{#if: {{{years|}}} | {{{years|}}} | {{{year}}} }}
|-
|-
! Canonicity
! Canonicity
Line 47: Line 47:
| format=Story format
| format=Story format
| character=Character
| character=Character
| characters=Multiple characters
| year=Year
| year=Year
| appearsin=Collection of works
| appearsin=Collection of works
Line 53: Line 54:
</nowiki></pre>
</nowiki></pre>


= Example =
= Examples =
 
== Short story ==


{{Story
{{Story
Line 75: Line 78:
}}
}}
</nowiki></pre>
</nowiki></pre>
== Novel ==
{{Story
| title=Qoheleth
| image=Qoheleth-front.png
| source=[[Iris Jay]]
| format=Novel
| character=Multiple
| characters=[[AwDae]], [[Michelle/Sasha|Sasha]], [[Dr. Carter Ramirez]], [[Ioan Bălan]], [[Qoheleth (cladist)|Qoheleth]]
| year=2305
| years=2112, 2305
| readlink=https://qoheleth.post-self.ink
}}
<pre><nowiki>
{{Story
| title=Qoheleth
| image=Qoheleth-front.png
| source=[[Iris Jay]]
| format=Novel
| character=Multiple
| characters=[[AwDae]], [[Michelle/Sasha|Sasha]], [[Dr. Carter Ramirez]], [[Ioan Bălan]], [[Qoheleth (cladist)|Qoheleth]]
| year=2305
| years=2112, 2305
| readlink=https://qoheleth.post-self.ink
}}
</nowiki></pre>
<noinclude>
<noinclude>
= Parameters =
= Parameters =

Revision as of 14:46, 12 February 2024


Usage

Displays information about a story.

{{Story
| title=Story title
| author=Story author
| image=Image file
| source=Source for the image
| format=Story format
| character=Character
| characters=Multiple characters
| year=Year
| appearsin=Collection of works
| readlink=https://link-to-read.com
}}

Examples

Short story

Cowboy
Alexandria Christina Leal
Format Short story
Character The Peace system
Year 2200
Canonicity Canon
Appears in Clade — A Post-Self anthology
Read here
{{Story
| title=Cowboy
| author=Alexandria Christina Leal
| format=Short story
| character=The Peace system
| year=2200
| appearsin=Clade — A Post-Self anthology
| readlink=https://clade.post-self.ink/cowboy
}}

Novel

Qoheleth
{{{author}}}
Source: Iris Jay
Format Novel
Characters AwDae, Sasha, Dr. Carter Ramirez, Ioan Bălan, Qoheleth
Years 2112, 2305
Canonicity Canon
Read here
{{Story
| title=Qoheleth
| image=Qoheleth-front.png
| source=[[Iris Jay]]
| format=Novel
| character=Multiple
| characters=[[AwDae]], [[Michelle/Sasha|Sasha]], [[Dr. Carter Ramirez]], [[Ioan Bălan]], [[Qoheleth (cladist)|Qoheleth]]
| year=2305
| years=2112, 2305
| readlink=https://qoheleth.post-self.ink
}}


Parameters

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

The title of the work

Example
Cowboy
Stringrequired
Authorauthor

The author of the work

Example
Alexandria Christina Leal
Linerequired
Charactercharacter

The name of the main character or clade

Example
Theodred
Linerequired
Yearyear

The year in which the story takes place

Example
2343
Numberrequired
Canonicitycanon

What level of canon the work is

Suggested values
Canon Paracanon Protocanon Non-canon
Default
Canon
Stringoptional
Appears inappearsin

Any collections the work appears in

Suggested values
Clade — A Post-Self Anthology Marsh
Example
Clade — A Post-Self Anthology
Stringoptional
Read linkreadlink

A link where one can read the story

Example
https://clade.post-self.ink/cowboy
URLoptional
Formatformat

The format of the work

Suggested values
Flash fiction Short story Novella Novel Interactive fiction
Default
Short story
Stringrequired
Imageimage

An image for the story

Example
Qoheleth-front.png
Fileoptional
Sourcesource

The source for the image

Example
[https://irisjay.net Iris Jay]
Lineoptional