Template:InterestingScreenshot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<!-- | <!-- | ||
Template:InterestingScreenshot | Template:InterestingScreenshot | ||
--------------------------------- | --------------------------------- | ||
Creates a standardized layout for interesting screenshots. | |||
Usage | Usage: | ||
{{InterestingScreenshot | {{InterestingScreenshot | ||
| title = Some Title | |||
| file = Example.png | |||
| description = A short description | |||
| reason = Why it's interesting | |||
| date = 2025-03-15 | |||
}} | }} | ||
--> | --> | ||
</noinclude> | </noinclude> | ||
<div | <includeonly> | ||
<div style="border:1px solid #CCC; padding:8px; margin:8px 0;"> | |||
<!-- | <!-- Use the template-supplied title or default to "Unnamed Screenshot" --> | ||
<h2>{{#if:{{{title|}}}|{{{title}}}|Unnamed Screenshot}}</h2> | <h2>{{#if:{{{title|}}}|{{{title}}}|Unnamed Screenshot}}</h2> | ||
<!-- Only show the file if a filename is given --> | |||
{{#if:{{{file|}}}| | |||
[[File:{{{file}}}|thumb|{{{description|No description provided.}}}]] | [[File:{{{file}}}|thumb|{{{description|No description provided.}}}]] | ||
}} | |||
<h3>Why is it interesting?</h3> | <h3>Why is it interesting?</h3> | ||
<p>{{{reason|No reason provided.}}}</p> | <p>{{{reason|No reason provided.}}}</p> | ||
< | <p><strong>Date:</strong> {{{date|No date provided}}}</p> | ||
</div> | </div> | ||
[[Category:Interesting Screenshots]] | [[Category:Interesting Screenshots]] | ||
</includeonly> | |||
Revision as of 2025-03-15T17:15:02