Template:InterestingScreenshot: Difference between revisions

From Nikipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<!--  
<!--
   Template:InterestingScreenshot
   Template:InterestingScreenshot
   ---------------------------------
   ---------------------------------
   This template helps create a standardized display and category for interesting screenshots.
   A simplified template with no conditionals. All parameters should be provided.
   Usage example:
   Usage:
     {{InterestingScreenshot
     {{InterestingScreenshot
    | title      = My Screenshot
      | title      = Some Title
    | file        = Example.png
      | file        = Example.png
    | description = A short description
      | description = A short description
    | reason      = Why it's interesting
      | reason      = Why it's interesting
    | date        = 2025-03-15
      | date        = 2025-03-15
     }}
     }}
-->
-->
</noinclude>
</noinclude>
<div class="interesting-screenshot-container" style="border:1px solid #CCC; padding:8px; margin:8px 0;">
<includeonly>
 
<div style="border:1px solid #CCC; padding:8px; margin:8px 0;">
  <!-- Title (Fallback if no title provided) -->
   <h2>{{{title}}}</h2>
   <h2>{{#if:{{{title|}}}|{{{title}}}|Unnamed Screenshot}}</h2>


  <!-- Increased thumbnail size by using upright=2 -->
[[File:{{{file}}}|thumb|700px|{{{description}}}]]


    [[File:{{{file}}}|thumb|{{{description|No description provided.}}}]]
  <!-- Why is it interesting? -->
   <h3>Why is it interesting?</h3>
   <h3>Why is it interesting?</h3>
   <p>{{{reason|No reason provided.}}}</p>
   <p>{{{reason}}}</p>
 
  <!-- Additional details -->
  <ul>
    <li><b>Date:</b> {{{date|No date provided}}}</li>
  </ul>


  <p><strong>Date:</strong> {{{date}}}</p>
</div>
</div>


<!-- Automatically add to the "Interesting Screenshots" category -->
[[Category:Interesting Screenshots]]
[[Category:Interesting Screenshots]]
</includeonly>

Latest revision as of 2025-03-15T19:36:05