Difference between revisions of "Template:comic discussion/assist"
(Icon size slighly increased, more padding on the Discussion header, "No comments yet" message rewording fixed, button at the bottom repositioned to the left.) |
|||
| Line 1: | Line 1: | ||
<noinclude>__TOC__</noinclude><br><span id="Discussion"></span>{{#ifeq:{{FULLPAGENAME}}|{{MediaWiki:mainpage}}|<!-- Don't display anything if this is the main page | <noinclude>__TOC__</noinclude><br><span id="Discussion"></span>{{#ifeq:{{FULLPAGENAME}}|{{MediaWiki:mainpage}}|<!-- Don't display anything if this is the main page | ||
| − | STYLING OF BUTTONS -->|<span style="position: absolute; right:0; padding-top:1. | + | STYLING OF BUTTONS -->|<span style="position: absolute; right:0; padding-top:1.5em; font-size: 105%;"><!-- |
| − | FIRST BUTTON -->[[File:comment.png| | + | FIRST BUTTON -->[[File:comment.png|18x18px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]]<span class="no-link-underline">[{{fullurl:{{TALKPAGENAME}}|action=edit}} </span>'''Add comment'''] <!-- |
| − | SECOND BUTTON -->[[File:new topic.png| | + | SECOND BUTTON -->[[File:new topic.png|18x18px|link={{fullurl:{{TALKPAGENAME}}|action=edit§ion=new}}]]<span class="no-link-underline">[{{fullurl:{{TALKPAGENAME}}|action=edit§ion=new}} </span>'''Create topic (use sparingly)'''] <!-- |
| − | THIRD BUTTON -->[[File:refresh discuss.png| | + | THIRD BUTTON -->[[File:refresh discuss.png|18x18px|link={{fullurl:{{FULLPAGENAME}}|action=purge}}]]<span class="no-link-underline">[{{fullurl:{{FULLPAGENAME}}|action=purge}} </span>'''Refresh''']</span><h1>Discussion</h1><!-- |
| − | STYLING OF DISCUSSION --><div class="disctemp" style="border:1px solid grey; background:# | + | STYLING OF DISCUSSION --><div class="disctemp" style="border:1px solid grey; background:#f1f1f1; padding:1.5em;"><!-- |
DISCUSSION -->{{#ifexist:{{TALKPAGENAME}} | DISCUSSION -->{{#ifexist:{{TALKPAGENAME}} | ||
|{{#ifeq:{{TALKPAGENAME}}|<!--Please sign your posts with ~~~~--> | |{{#ifeq:{{TALKPAGENAME}}|<!--Please sign your posts with ~~~~--> | ||
| − | |'' | + | |''There are no comments yet! [{{fullurl:{{TALKPAGENAME}}|action=edit}} Add a new comment].''|{{#ifeq:{{TALKPAGENAME}}|<!-- If it's empty, then... |
| − | -->|''No comments yet, [{{fullurl:{{TALKPAGENAME}}|action=edit}} add | + | -->|''No comments yet, [{{fullurl:{{TALKPAGENAME}}|action=edit}} add a new comment]!''|{{:{{TALKPAGENAME}}}}}}}}<span class="no-link-underline" style="position: absolute; right:0; padding-top:1.3em; font-size: 105%;">[[File:comment.png|18x18px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]][{{fullurl:{{TALKPAGENAME}}|action=edit}} '''Add comment'''] </span> |
|''No comments yet, [{{fullurl:{{TALKPAGENAME}}|action=edit}} add the first comment]!''}} | |''No comments yet, [{{fullurl:{{TALKPAGENAME}}|action=edit}} add the first comment]!''}} | ||
| Line 23: | Line 23: | ||
</div>__NOTOC__}} | </div>__NOTOC__}} | ||
| − | <noinclude>[[Category:Templates]]</noinclude> | + | <noinclude> |
| + | [[Category:Templates]] | ||
| + | </noinclude> | ||
Revision as of 09:51, 1 March 2025
Contents
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)
Add comment
