Template:Documentation/layout: Difference between revisions
Content deleted Content added
Fix formatting of documentation on Template pages. See for example, Special:Diff/317302499. |
en>Tacsipacsi move CSS to subpage |
||
Line 1:
<div class="template-documentation">
<div class="template-documentation mw-content-{{dir|{{int:lang}}}}" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #ECFCF4;" lang="{{int:lang}}" dir="{{dir|{{int:lang}}}}">{{#ifeq:{{{heading|}}} | false | | <div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;"><span style="font-size:150%">{{#if: {{{heading|}}} | {{{heading}}} |[[File:Test Template Info-Icon.svg|50px|link=|alt=Documentation icon]] {{{documentation|Documentation}}} }}</span><span class="mw-editsection plainlinks" id="doc_editlinks">[{{fullurl:{{{1}}}}} {{{view|{{int:vector-view-view}}}}}] • [{{fullurl:{{{1}}}|action=edit{{#ifexist: {{{1}}} ||&preload=Template:Documentation/preload}}}} {{{edit|{{int:vector-view-edit}}}}}] • [{{fullurl:{{{1}}}|action=history}} {{{history|{{int:vector-view-history}}}}}] • [{{fullurl:{{FULLPAGENAME}}|action=purge}} {{{purge|{{int:Code-rev-purge-link}}}}}]</span></div>}}▼
<templatestyles src="Documentation/styles.css" />{{#ifeq:{{{heading|}}} | false | |
▲<div class="template-documentation-heading mw-content-{{dir|{{
{{#if:{{{content|}}}<!--
-->|<!-- do not show notice when /doc is not transcluded
-->|<!-- show notice about transclusion -->
{{#if:{{{content|}}}|{{{content}}}|<nowiki />
{{{{{1}}}}}
}}
[[Category:Layout templates]]
|