Template:Documentation: Difference between revisions

Jump to navigation Jump to search
Heading styling for funsies (and because it's also in the implementation I mimicked)
(Adding padding to remove overlapping stuff)
(Heading styling for funsies (and because it's also in the implementation I mimicked))
Line 1: Line 1:
<includeonly><div style="background: #c2dcff; border-radius: 20px 20px 0 0; height:24px; padding: 0 10px;">
<includeonly><div style="background: #c2dcff; border-radius: 20px 20px 0 0; height:24px; padding: 0 10px;">
<div style="display: inline-block">{{#if:{{{HEADING|{{{Heading|{{{heading|}}}}}}}}}|{{{HEADING|{{{Heading|{{{heading|}}}}}}}}}|Template Documentation}}</div>
<div style="display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;">{{#if:{{{HEADING|{{{Heading|{{{heading|}}}}}}}}}|{{{HEADING|{{{Heading|{{{heading|}}}}}}}}}|Template Documentation}}</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 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; padding: 0 5px 5px 5px;">{{#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