Template:Story: Difference between revisions
(Initial template) |
(Add character and year) |
||
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" style="font-weight: normal;" | ''{{{author}}}'' | ||
|- | |||
! Character | |||
| [[{{{character}}}]] | |||
|- | |||
! Year | |||
| {{{year}}} | |||
|- | |- | ||
! Canonicity | ! Canonicity | ||
Line 24: | Line 30: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Story | {{Story | ||
| Story title | | title=Story title | ||
| Story author | | author=Story author | ||
| character=Character | |||
| year=Year | |||
| appearsin=Collection of works | | appearsin=Collection of works | ||
| readlink=https://link-to-read.com | | readlink=https://link-to-read.com | ||
Line 34: | Line 42: | ||
{{Story | {{Story | ||
| Cowboy | | title=Cowboy | ||
| | | author=Alexandria Christina Leal | ||
| 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 51: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Story | {{Story | ||
| Cowboy | | title=Cowboy | ||
| | | author=Alexandria Christina Leal | ||
| 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 52: | Line 64: | ||
{ | { | ||
"params": { | "params": { | ||
"canon": { | "canon": { | ||
"label": "Canonicity", | "label": "Canonicity", | ||
Line 93: | Line 91: | ||
"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 | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"title", | |||
"author", | |||
"character", | |||
"year", | |||
"canon", | |||
"appearsin", | |||
"readlink" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 05:21, 8 February 2024
Usage
Displays information about a story.
{{Story | title=Story title | author=Story author | character=Character | year=Year | appearsin=Collection of works | readlink=https://link-to-read.com }}
Example
Cowboy | |
---|---|
Alexandria Christina Leal | |
Character | The Peace system |
Year | 2200 |
Canonicity | Canon |
Appears in | Clade — A Post-Self anthology |
Read here |
{{Story | title=Cowboy | author=Alexandria Christina Leal | 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 |