Jump to content

Template:Story: Difference between revisions

Add format and image
(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>