Template:Documentation: Difference between revisions

Jump to navigation Jump to search
Adding padding to remove overlapping stuff
(Replacing scribunto attempt with an alternative that actually works (styling is up to debate))
(Adding padding to remove overlapping stuff)
Line 1: Line 1:
<includeonly><div style="background: #c2dcff; border-radius: 20px 20px 0 0; height:24px;">
<includeonly><div style="background: #c2dcff; border-radius: 20px 20px 0 0; height:24px; padding: 0 10px;">
<div style="margin-left:5px; display: inline-block">{{#if:{{{HEADING|{{{Heading|{{{heading|}}}}}}}}}|{{{HEADING|{{{Heading|{{{heading|}}}}}}}}}|Template Documentation}}</div>
<div style="display: inline-block">{{#if:{{{HEADING|{{{Heading|{{{heading|}}}}}}}}}|{{{HEADING|{{{Heading|{{{heading|}}}}}}}}}|Template Documentation}}</div>
<div class="mw-editsection-like" style="margin-right:5px; margin-top:5px; display: inline-block; float: right;">{{#if:{{{CONTENT|{{{Content|{{{content|}}}}}}}}}||<nowiki>[</nowiki>[[/doc|view]]<nowiki>]</nowiki> <nowiki>[</nowiki>[[Special:Editpage/{{FULLPAGENAME}}/doc|edit]]<nowiki>]</nowiki> <nowiki>[</nowiki>[[Special:Pagehistory/{{FULLPAGENAME}}/doc|history]]<nowiki>]</nowiki>}}</div>
<div class="mw-editsection-like" style="margin-top:5px; display: inline-block; float: right;">{{#if:{{{CONTENT|{{{Content|{{{content|}}}}}}}}}||<nowiki>[</nowiki>[[/doc|view]]<nowiki>]</nowiki> <nowiki>[</nowiki>[[Special:Editpage/{{FULLPAGENAME}}/doc|edit]]<nowiki>]</nowiki> <nowiki>[</nowiki>[[Special:Pagehistory/{{FULLPAGENAME}}/doc|history]]<nowiki>]</nowiki>}}</div>
</div>
</div>
<div style="background: #eaf3ff; border-radius: 0 0 20px 20px;">{{#if:{{{CONTENT|{{{Content|{{{content|}}}}}}}}}|{{{CONTENT|{{{Content|{{{content|}}}}}}}}}|{{/doc}}}}</div></includeonly><noinclude>{{Documentation}}</noinclude>
<div style="background: #eaf3ff; border-radius: 0 0 20px 20px; padding: 0 5px 5px 5px;">{{#if:{{{CONTENT|{{{Content|{{{content|}}}}}}}}}|{{{CONTENT|{{{Content|{{{content|}}}}}}}}}|{{/doc}}}}</div></includeonly><noinclude>{{Documentation}}</noinclude>

Navigation menu