Template:sketchbook
From Homestar Runner Wiki
(Difference between revisions)
(recategorize properly) |
(update examples, make content include only so links to random years do not show up) |
||
Line 1: | Line 1: | ||
- | [[Sketchbook {{#time: Y | {{{1|today}}} }}#SK-{{#time: Y-m-d | {{{1|today}}} }}|Sketchbook]] for {{#time: j F Y | {{{1|today}}} }}: "{{{2|caption}}}"<noinclude> | + | <includeonly>[[Sketchbook {{#time: Y | {{{1|today}}} }}#SK-{{#time: Y-m-d | {{{1|today}}} }}|Sketchbook]] for {{#time: j F Y | {{{1|today}}} }}: "{{{2|caption}}}"</includeonly><noinclude> |
- | + | ||
Automatically links from an image description page to the image's position in the corresponding Sketchbook list. | Automatically links from an image description page to the image's position in the corresponding Sketchbook list. | ||
====Usage:==== | ====Usage:==== | ||
<code><nowiki>{{sketchbook|</nowiki> ''date'' | ''caption'' }}</code> | <code><nowiki>{{sketchbook|</nowiki> ''date'' | ''caption'' }}</code> | ||
- | ==== | + | ====Examples:==== |
+ | * The following example: | ||
+ | <code><nowiki>{{sketchbook|</nowiki>29 July 2004|caffeinated strong sad}}</code> | ||
+ | * Yields: | ||
+ | {{sketchbook|29 July 2004|caffeinated strong sad}} | ||
+ | * Sample using today's date: | ||
<code><nowiki>{{sketchbook|</nowiki> {{#time: j F Y | today }} | caption }}</code> | <code><nowiki>{{sketchbook|</nowiki> {{#time: j F Y | today }} | caption }}</code> | ||
+ | |||
[[Category:Internal link templates|{{PAGENAME}}]]__NOEDITSECTION__</noinclude> | [[Category:Internal link templates|{{PAGENAME}}]]__NOEDITSECTION__</noinclude> |
Current revision as of 10:57, 6 January 2022
Automatically links from an image description page to the image's position in the corresponding Sketchbook list.
Usage:
{{sketchbook| date | caption }}
Examples:
- The following example:
{{sketchbook|29 July 2004|caffeinated strong sad}}
- Yields:
Sketchbook for 29 July 2004: "caffeinated strong sad"
- Sample using today's date:
{{sketchbook| 23 January 2025 | caption }}