Template:Comic: Difference between revisions
No edit summary |
No edit summary |
||
Line 51: | Line 51: | ||
"description": "Date of the comic being posted, in YYYY-MM-DD format. Only fill this if the post date is different from the date in the tags. Note that crawfishcomic seems to be in the Australlian timezone; dates should match said timezone.", | "description": "Date of the comic being posted, in YYYY-MM-DD format. Only fill this if the post date is different from the date in the tags. Note that crawfishcomic seems to be in the Australlian timezone; dates should match said timezone.", | ||
"example": "2022-10-16" | "example": "2022-10-16" | ||
} | }, | ||
"is video": { | |||
"label": "Is video", | |||
"description": "\"true\" if the comic is a video.", | |||
"type": "boolean", | |||
"default": "false", | |||
"autovalue": "false" | |||
}, | |||
"prev is video": {}, | |||
"next is video": {}, | |||
"prev is comic": {}, | |||
"next is comic": {} | |||
}, | }, | ||
"description": "Template representing a comic.", | "description": "Template representing a comic.", | ||
Line 62: | Line 73: | ||
"caption", | "caption", | ||
"tags", | "tags", | ||
"post date" | "post date", | ||
"is video", | |||
"prev is video", | |||
"next is video", | |||
"prev is comic", | |||
"next is comic" | |||
], | ], | ||
"format": "block" | "format": "block" | ||
Line 93: | Line 109: | ||
<span class="caption"><span class="dim-label">''Caption:''</span> {{{caption|{{{title}}}}}}</span> | <span class="caption"><span class="dim-label">''Caption:''</span> {{{caption|{{{title}}}}}}</span> | ||
<span class="caption tags"><span class="dim-label tag">#CrawfishComic</span> <span class="dim-label tab">#{{dateformat|{{{date}}}}}</span> {{#if: {{{tags|}}}|<span class="dim-label tab">#{{#replace:{{{tags}}}|,|</span><span class="dim-label tab">#}}</span>|}}</span> | <span class="caption tags"><span class="dim-label tag">#CrawfishComic</span> <span class="dim-label tab">#{{dateformat|{{{date}}}}}</span> {{#if: {{{tags|}}}|<span class="dim-label tab">#{{#replace:{{{tags}}}|,|</span><span class="dim-label tab">#}}</span>|}}</span> | ||
</div> | </div>{{#if: {{{is video|false}}}|[[Category:Videos]]|[[Category:Comics]]}} | ||
</includeonly> | </includeonly> |
Revision as of 15:20, 6 August 2024
Template representing a comic.
Parameter | Description | Type | Status | |
---|---|---|---|---|
URL | url | URL of the post.
| URL | required |
Image | image | URL of the image for the comic. To get this, open the image in the post, click "copy link" and replace .pnj with .png.
| URL | required |
Title | title | Title of the comic. This will usually be the caption.
| String | required |
Number | number | Number of the comic. | Number | required |
Date | date | Date of the comic's creation, from the post tags, in YYYY-MM-DD format.
| Date | required |
Caption | caption | Full caption of the image. Only fill this is the caption is more than just the title. | Content | optional |
Tags | tags | Tags of the post, separated by commas. Don't include the "crawfishcomic" and date tags. | Unknown | optional |
Post date | post date | Date of the comic being posted, in YYYY-MM-DD format. Only fill this if the post date is different from the date in the tags. Note that crawfishcomic seems to be in the Australlian timezone; dates should match said timezone.
| Unknown | optional |
Is video | is video | "true" if the comic is a video.
| Boolean | optional |
prev is video | prev is video | no description | Unknown | optional |
next is video | next is video | no description | Unknown | optional |
prev is comic | prev is comic | no description | Unknown | optional |
next is comic | next is comic | no description | Unknown | optional |
Examples
This template defines the table "comics". This table has not been created yet.