Template:Story: Difference between revisions
(Initial template) |
m (Add anthology) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{| class="wikitable" style="margin: 1em; margin-right: 0; float: right; clear: right; max-width: min(360px, 40%);" | <includeonly><onlyinclude>{| class="wikitable" style="margin: 1em; margin-right: 0; float: right; clear: right; max-width: min(360px, 40%);" | ||
! colspan="2" | {{{ | ! colspan="2" | {{{title}}} | ||
|- | |- | ||
! colspan="2" style="font-weight: normal;" | | ! colspan="2" | {{#if: {{{authors|}}} | Multiple | {{pipe escape | [[{{{author}}}]] }} }} | ||
|- | |||
{{#if: {{{image|}}} | {{pipe escape | | |||
! colspan{{=}}"2" | [[File:{{{image}}}|frameless]] | |||
|- | |||
}}}} | |||
{{#if: {{{source|}}} | {{pipe escape | | |||
! colspan{{=}}"2" style{{=}}"font-weight: normal; font-size: 95%;" | Source: {{{source}}} | |||
|- | |||
}}}} | |||
! Format | |||
| {{{format|Short story}}} | |||
|- | |||
{{#if: {{{authors|}}} | {{ pipe escape | | |||
! Authors | |||
| | |||
{{{authors|}}} | |||
|- | |||
}}}} | |||
! Character{{#if: {{{characters|}}} | s }} | |||
| {{#if: {{{characters|}}} | {{pipe escape | {{{characters|}}} }} | {{pipe escape | [[{{{character}}}]] }} }} | |||
|- | |||
! Year{{#if: {{{years|}}} | s }} | |||
| {{#if: {{{years|}}} | {{{years|}}} | {{{year}}} }} | |||
|- | |- | ||
! Canonicity | ! Canonicity | ||
Line 24: | Line 47: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Story | {{Story | ||
| Story title | | title=Story title | ||
| Story author | | author=Story author | ||
| authors=Multiple authors | |||
| image=Image file | |||
| source=Source for the image | |||
| format=Story format | |||
| character=Character | |||
| characters=Multiple characters | |||
| year=Year | |||
| appearsin=Collection of works | | appearsin=Collection of works | ||
| readlink=https://link-to-read.com | | readlink=https://link-to-read.com | ||
Line 31: | Line 61: | ||
</nowiki></pre> | </nowiki></pre> | ||
= | = Examples = | ||
== Short story == | |||
{{Story | {{Story | ||
| Cowboy | | title=Cowboy | ||
| | | author=Alexandria Christina Leal | ||
| format=Short story | |||
| character=The Peace system | |||
| year=2200 | |||
| appearsin=Clade — A Post-Self anthology | | appearsin=Clade — A Post-Self anthology | ||
| readlink=https://clade.post-self.ink/cowboy | | readlink=https://clade.post-self.ink/cowboy | ||
Line 41: | Line 76: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Story | {{Story | ||
| Cowboy | | title=Cowboy | ||
| | | author=Alexandria Christina Leal | ||
| format=Short story | |||
| character=The Peace system | |||
| year=2200 | |||
| appearsin=Clade — A Post-Self anthology | | appearsin=Clade — A Post-Self anthology | ||
| readlink=https://clade.post-self.ink/cowboy | | readlink=https://clade.post-self.ink/cowboy | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
== Novel == | |||
{{Story | |||
| title=Qoheleth | |||
| author=Madison Scott-Clary | |||
| 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 | |||
| author=Madison Scott-Clary | |||
| 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 = | ||
Line 52: | Line 121: | ||
{ | { | ||
"params": { | "params": { | ||
"canon": { | "canon": { | ||
"label": "Canonicity", | "label": "Canonicity", | ||
Line 93: | Line 148: | ||
"example": "https://clade.post-self.ink/cowboy", | "example": "https://clade.post-self.ink/cowboy", | ||
"type": "url" | "type": "url" | ||
}, | |||
"title": { | |||
"label": "Title", | |||
"description": "The title of the work", | |||
"example": "Cowboy", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"author": { | |||
"label": "Author", | |||
"description": "The author of the work", | |||
"example": "Alexandria Christina Leal", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"character": { | |||
"label": "Character", | |||
"description": "The name of the main character or clade", | |||
"example": "Theodred", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"year": { | |||
"label": "Year", | |||
"description": "The year in which the story takes place", | |||
"example": "2343", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"format": { | |||
"label": "Format", | |||
"description": "The format of the work", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Anthology", | |||
"Flash fiction", | |||
"Short story", | |||
"Novella", | |||
"Novel", | |||
"Interactive fiction" | |||
], | |||
"default": "Short story" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "An image for the story", | |||
"example": "Qoheleth-front.png", | |||
"type": "wiki-file-name" | |||
}, | |||
"source": { | |||
"label": "Source", | |||
"description": "The source for the image", | |||
"example": "[https://irisjay.net Iris Jay]", | |||
"type": "line" | |||
}, | |||
"characters": { | |||
"label": "Characters", | |||
"description": "If there are multiple characters, add them wiki-formatted here (\"character\" is still required)", | |||
"example": "[[Ioan Bălan]], [[Debarre]]", | |||
"type": "content" | |||
}, | |||
"years": { | |||
"label": "Years", | |||
"description": "If the story takes place in multiple years, list them here (\"year\" is still required)", | |||
"example": "2112, 2305", | |||
"type": "string" | |||
}, | |||
"authors": { | |||
"label": "Authors", | |||
"description": "Multiple authors", | |||
"example": "[[Madison Scott-Clary]], [[Rob MacWolf]]...", | |||
"type": "content" | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"source", | |||
"author", | |||
"authors", | |||
"format", | |||
"character", | |||
"characters", | |||
"year", | |||
"years", | |||
"canon", | |||
"appearsin", | |||
"readlink" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 04:10, 3 June 2024
Usage
Displays information about a story.
{{Story | title=Story title | author=Story author | authors=Multiple authors | 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 | |
---|---|
Madison Scott-Clary | |
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 | author=Madison Scott-Clary | 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The title of the work
| String | required |
Image | image | An image for the story
| File | optional |
Source | source | The source for the image
| Line | optional |
Author | author | The author of the work
| Line | required |
Authors | authors | Multiple authors
| Content | optional |
Format | format | The format of the work
| String | optional |
Character | character | The name of the main character or clade
| Line | required |
Characters | characters | If there are multiple characters, add them wiki-formatted here ("character" is still required)
| Content | optional |
Year | year | The year in which the story takes place
| Number | required |
Years | years | If the story takes place in multiple years, list them here ("year" is still required)
| String | optional |
Canonicity | canon | What level of canon the work is
| String | optional |
Appears in | appearsin | Any collections the work appears in
| String | optional |
Read link | readlink | A link where one can read the story
| URL | optional |