Difference between revisions of "Template:comic discussion/assist"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(trying to clean up end bit)
(updating initial reminder, adding testing)
Line 15: Line 15:
 
DISCUSSION            -->{{#ifexist:{{TALKPAGENAME}}<!-- Talk page exists, so we can check if it is empty/without comments -->
 
DISCUSSION            -->{{#ifexist:{{TALKPAGENAME}}<!-- Talk page exists, so we can check if it is empty/without comments -->
 
     |{{#switch: {{:{{TALKPAGENAME}} }}
 
     |{{#switch: {{:{{TALKPAGENAME}} }}
         |<!-- if it is completely empty -->
+
         |<!-- if it is completely empty --> = a
         |&lt:!--Please sign your posts with &#126;&#126;&#126;&#126;--&gt;<!-- archaic initial reminder, probably can't work --> = ''No comments yet, [{{fullurl:{{TALKPAGENAME}}|action=edit}} add the first comment]!''
+
         |&lt:!--Please sign your posts with &#126;&#126;&#126;&#126; and don't delete this text. New comments should be added at the bottom.--&gt;<!-- has only the reminder; dubious efficacy -->
 +
          = ''No comments yet, [{{fullurl:{{TALKPAGENAME}}|action=edit}} add the first comment]!''
 
         | #default = {{:{{TALKPAGENAME}}}}<br><span class="no-link-underline" style="position: absolute; left:0; padding-top:1.3em; font-size: 105%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[File:comment.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]][{{fullurl:{{TALKPAGENAME}}|action=edit}} &nbsp; '''Add comment''']</span><br> }}
 
         | #default = {{:{{TALKPAGENAME}}}}<br><span class="no-link-underline" style="position: absolute; left:0; padding-top:1.3em; font-size: 105%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[File:comment.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]][{{fullurl:{{TALKPAGENAME}}|action=edit}} &nbsp; '''Add comment''']</span><br> }}
     |''No comments yet, [{{fullurl:{{TALKPAGENAME}}|action=edit}} add the first comment]!''}}
+
     |''No comments yet, [{{fullurl:{{TALKPAGENAME}}|action=edit}} add the first comment]!''}}<!--
  
</div>__NOTOC__}}<only<noinclude></noinclude>include>{{{1}}}</only<noinclude></noinclude>include><noinclude>[[Category:Templates]]</noinclude>
+
END DISCUSSION        --></div>__NOTOC__}}<noinclude>[[Category:Templates]]</noinclude>

Revision as of 01:03, 24 April 2025


comment.png  Add comment      new topic.png  Create topic (use sparingly)     refresh discuss.png  Refresh 

Discussion

This is a test. --FaviFake (talk) 14:21, 25 April 2025 (UTC)

Bug Fix

This template exists to fix a bug where headers will not render if they're the first thing on the discussion page.

Separate template

Does this really need its own template?

Nope! I turned it into a sandbox. --FaviFake (talk) 14:21, 25 April 2025 (UTC)
      comment.png  Add comment