Template:Story: Difference between revisions
(Add character and year) |
(Add format and image) |
||
Line 3: | Line 3: | ||
|- | |- | ||
! colspan="2" style="font-weight: normal;" | ''{{{author}}}'' | ! colspan="2" style="font-weight: normal;" | ''{{{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}}} | |||
|- | |- | ||
! Character | ! Character | ||
Line 32: | Line 43: | ||
| title=Story title | | title=Story title | ||
| author=Story author | | author=Story author | ||
| image=Image file | |||
| source=Source for the image | |||
| format=Story format | |||
| character=Character | | character=Character | ||
| year=Year | | year=Year | ||
Line 44: | Line 58: | ||
| title=Cowboy | | title=Cowboy | ||
| author=Alexandria Christina Leal | | author=Alexandria Christina Leal | ||
| format=Short story | |||
| character=The Peace system | | character=The Peace system | ||
| year=2200 | | year=2200 | ||
Line 53: | Line 68: | ||
| title=Cowboy | | title=Cowboy | ||
| author=Alexandria Christina Leal | | author=Alexandria Christina Leal | ||
| format=Short story | |||
| character=The Peace system | | character=The Peace system | ||
| year=2200 | | year=2200 | ||
Line 119: | Line 135: | ||
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
}, | |||
"format": { | |||
"label": "Format", | |||
"description": "The format of the work", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Flash fiction", | |||
"Short story", | |||
"Novella", | |||
"Novel", | |||
"Interactive fiction" | |||
], | |||
"default": "Short story", | |||
"required": true | |||
}, | |||
"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" | |||
} | } | ||
}, | }, | ||
Line 128: | Line 170: | ||
"canon", | "canon", | ||
"appearsin", | "appearsin", | ||
"readlink" | "readlink", | ||
"format", | |||
"image", | |||
"source" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 14:13, 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 | year=Year | appearsin=Collection of works | readlink=https://link-to-read.com }}
Example
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 }}
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The title of the work
| String | required |
Author | author | The author of the work
| Line | required |
Character | character | The name of the main character or clade
| Line | required |
Year | year | The year in which the story takes place
| Number | required |
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 |
Format | format | The format of the work
| String | required |
Image | image | An image for the story
| File | optional |
Source | source | The source for the image
| Line | optional |