Template:Story: Difference between revisions
(Move authors down) |
m (in usage) |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
|- | |- | ||
{{#if: {{{authors|}}} | {{ pipe escape | | {{#if: {{{authors|}}} | {{ pipe escape | | ||
! Authors | ! Authors | ||
| {{{authors|}}} | | | ||
{{{authors|}}} | |||
|- | |- | ||
}}}} | }}}} | ||
! Character{{#if: {{{characters|}}} | s }} | ! Character{{#if: {{{characters|}}} | s }} | ||
| {{#if: {{{characters|}}} | {{pipe escape | {{{characters|}}} }} | {{pipe escape | | | {{#if: {{{characters|}}} | {{pipe escape | {{{characters|}}} }} | {{pipe escape | {{{character}}} }} }} | ||
|- | |- | ||
! Year{{#if: {{{years|}}} | s }} | ! Year{{#if: {{{years|}}} | s }} | ||
| Line 35: | Line 36: | ||
}}}} | }}}} | ||
{{#if: {{{readlink|}}} | {{pipe escape | | {{#if: {{{readlink|}}} | {{pipe escape | | ||
! colspan{{=}}"2" style{{=}}"text-align: center" | [{{{readlink}}} Read here] | ! colspan{{=}}"2" style{{=}}"text-align: center" | [{{{readlink}}} Read here] {{#if: {{{summary|}}} | • [[{{PAGENAME}}/synopsis|Synopsis]]}} | ||
|- | |- | ||
}}}} | }}}} | ||
| Line 57: | Line 58: | ||
| appearsin=Collection of works | | appearsin=Collection of works | ||
| readlink=https://link-to-read.com | | readlink=https://link-to-read.com | ||
| synopsis=true | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
| Line 98: | Line 100: | ||
| years=2112, 2305 | | years=2112, 2305 | ||
| readlink=https://qoheleth.post-self.ink | | readlink=https://qoheleth.post-self.ink | ||
| summary=true | |||
}} | }} | ||
| Line 164: | Line 167: | ||
"character": { | "character": { | ||
"label": "Character", | "label": "Character", | ||
"description": "The name of the main character or clade", | "description": "The name of the main POV character or clade in wiki format", | ||
"example": "Theodred", | "example": "Theodred", | ||
"type": "line", | "type": "line", | ||
| Line 181: | Line 184: | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"Anthology", | |||
"Flash fiction", | "Flash fiction", | ||
"Short story", | "Short story", | ||
| Line 187: | Line 191: | ||
"Interactive fiction" | "Interactive fiction" | ||
], | ], | ||
"default": "Short story" | "default": "Short story" | ||
}, | }, | ||
"image": { | "image": { | ||
| Line 204: | Line 207: | ||
"characters": { | "characters": { | ||
"label": "Characters", | "label": "Characters", | ||
"description": "If there are multiple characters, add them wiki-formatted here (\"character\" is still required)", | "description": "If there are multiple POV characters, add them wiki-formatted here (\"character\" is still required)", | ||
"example": "[[Ioan Bălan]], [[Debarre]]", | "example": "[[Ioan Bălan]], [[Debarre]]", | ||
"type": "content" | "type": "content" | ||
| Line 219: | Line 222: | ||
"example": "[[Madison Scott-Clary]], [[Rob MacWolf]]...", | "example": "[[Madison Scott-Clary]], [[Rob MacWolf]]...", | ||
"type": "content" | "type": "content" | ||
} | }, | ||
"summary": { | |||
"label": "Has summary", | |||
"description": "Whether or not to link to a synopsis page (synopsis page name must be PAGENAME/synopsis", | |||
"example": "true", | |||
"type": "boolean" | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
| Line 234: | Line 243: | ||
"canon", | "canon", | ||
"appearsin", | "appearsin", | ||
"readlink" | "readlink", | ||
"summary" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:40, 1 January 2026
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
| synopsis=true
}}
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 • Synopsis | |
{{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 POV character or clade in wiki format
| Line | required |
| Characters | characters | If there are multiple POV 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 |
| Has summary | summary | Whether or not to link to a synopsis page (synopsis page name must be PAGENAME/synopsis
| Boolean | optional |