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

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 6: Line 6:
 
  STYLING OF BUTTONS    -->|<span style="position: absolute; right:0; padding-top:1.7em; font-size: 105%;"><!--
 
  STYLING OF BUTTONS    -->|<span style="position: absolute; right:0; padding-top:1.7em; font-size: 105%;"><!--
  
 +
FIRST BUTTON          -->[[File:comment.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]]<!--
 +
                        --><span class="no-link-underline">[{{fullurl:{{TALKPAGENAME}}|action=edit}} &nbsp; </span><!--
 +
                        -->'''Add comment''']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--
  
  FIRST BUTTON           -->[[File:comment.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]]<span class="no-link-underline">[{{fullurl:{{TALKPAGENAME}}|action=edit}} &nbsp; </span>'''Add comment''']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--
+
  SECOND BUTTON         -->[[File:new topic.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit&section=new}}]]<!--
 +
                        --><span class="no-link-underline">[{{fullurl:{{TALKPAGENAME}}|action=edit&section=new}} &nbsp; </span><!--
 +
                        -->'''Create topic (use sparingly)''']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--
  
  SECOND BUTTON         -->[[File:new topic.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit&section=new}}]]<span class="no-link-underline">[{{fullurl:{{TALKPAGENAME}}|action=edit&section=new}} &nbsp; </span>'''Create topic (use sparingly)''']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--
+
  THIRD BUTTON           -->[[File:refresh discuss.png|21x21px|link={{fullurl:{{FULLPAGENAME}}|action=purge}}]]<!--
 
+
                        --><span class="no-link-underline">[{{fullurl:{{FULLPAGENAME}}|action=purge}} &nbsp; </span><!--
THIRD BUTTON          -->[[File:refresh discuss.png|21x21px|link={{fullurl:{{FULLPAGENAME}}|action=purge}}]]<span class="no-link-underline">[{{fullurl:{{FULLPAGENAME}}|action=purge}} &nbsp; </span>'''Refresh''']&nbsp;</span><h1>Discussion</h1>
+
                        -->'''Refresh''']&nbsp;</span><h1>Discussion</h1>
 
<!--This line break is needed for headings.
 
<!--This line break is needed for headings.
  
  STYLING OF DISCUSSION  --><div class="disctemp" style="border:1px solid grey; background:#f6f6f6; padding-top:0.7em; padding-left:1.5em; padding-right:1.5em; padding-bottom:2.7em;">
+
  STYLING OF DISCUSSION  --><div class="disctemp" style="border:1px solid grey; background:#f6f6f6; <!--
 +
                        -->padding-top:0.5em; padding-left:1.5em; padding-right:1.5em; padding-bottom:2.5em;">
 
<!--
 
<!--
  
Line 26: Line 32:
  
 
                 Now create the ADD COMMENT button at the end
 
                 Now create the ADD COMMENT button at the end
                 --><span class="no-link-underline" style="position: absolute; left:0; padding-top:1.3em; font-size: 110%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--
+
                 --><span class="no-link-underline" style="position: absolute; left:0; padding-top:1.3em; font-size: 105%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--
  
 
                 Start by adding the button image, then add the label
 
                 Start by adding the button image, then add the label
                 -->[[File:comment.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]][{{fullurl:{{TALKPAGENAME}}|action=edit}} &nbsp; '''Add comment''']</span><br><!--
+
                 -->[[File:comment.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]]<!--
 +
                        -->[{{fullurl:{{TALKPAGENAME}}|action=edit}} &nbsp; '''Add comment''']</span><br><!--
  
 
                 We checked and the talk page existed but was blank, so put default prompt  
 
                 We checked and the talk page existed but was blank, so put default prompt  

Revision as of 14:28, 25 April 2025

The template {{comic discussion}} has an associated sandbox, available at Template:comic discussion/assist.


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