Difference between revisions of "Template:comic discussion/assist"
Firestar233 (talk | contribs) (trying to clean up end bit) |
|||
| Line 13: | Line 13: | ||
STYLING OF DISCUSSION --><div class="disctemp" style="border:1px solid grey; background:#f6f6f6; padding:1.5em;"><!-- | STYLING OF DISCUSSION --><div class="disctemp" style="border:1px solid grey; background:#f6f6f6; padding:1.5em;"><!-- | ||
| − | DISCUSSION -->{{#ifexist:{{TALKPAGENAME}} | + | DISCUSSION -->{{#ifexist:{{TALKPAGENAME}}<!-- Talk page exists, so we can check if it is empty/without comments --> |
| − | + | |{{#switch: {{:{{TALKPAGENAME}} }} | |
| − | + | |<!-- if it is completely empty --> | |
| − | + | |<:!--Please sign your posts with ~~~~--><!-- archaic initial reminder, probably can't work --> = ''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%;"> [[File:comment.png|21x21px|link={{fullurl:{{TALKPAGENAME}}|action=edit}}]][{{fullurl:{{TALKPAGENAME}}|action=edit}} '''Add comment''']</span><br> }} |
| − | {{:{{TALKPAGENAME | ||
| − | |||
|''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> | </div>__NOTOC__}}<only<noinclude></noinclude>include>{{{1}}}</only<noinclude></noinclude>include><noinclude>[[Category:Templates]]</noinclude> | ||
Revision as of 00:54, 24 April 2025
Contents
Discussion
This is a test. --FaviFake (talk) 14:21, 25 April 2025 (UTC)
<onlyinclude>{{{1}}}</onlyinclude>
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
