Template:Documentation/layout: Difference between revisions

From Graal Military Wiki
Content deleted Content added
tweak
Nyl (talk | contribs)
m 41 revisions imported
 
(32 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<div class="template-documentation">
<div class="template-documentation" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #f5f5f5;">{{#ifeq:{{{heading|}}} | false | | <div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;">
<templatestyles src="Documentation/styles.css" />{{#ifeq:{{{heading|}}} | false | |
<span class="editsection plainlinks" id="doc_editlinks">[[{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=edit{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc }} ||&preload=Template:Documentation/preload}}}} {{{edit|}}}]]</span>
<div class="template-documentation-heading mw-content-{{dir|{{{lang}}}}}" lang="{{{lang}}}" dir="{{dir|{{{lang}}}}}"><span class="template-documentation-title">{{#if: {{{heading|}}} | {{{heading}}} |[[File:Test Template Info-Icon.svg|50px|link=|alt=]] {{{documentation|Documentation}}} }}</span><span class="mw-editsection plainlinks" id="doc_editlinks">[{{fullurl:{{{1}}}}} {{{view|{{int:vector-view-view/{{{lang}}}}}}}}] • [{{fullurl:{{{1}}}|action=edit{{#ifexist: {{{1}}} ||&preload=Template:Documentation/preload}}}} {{{edit|{{int:vector-view-edit/{{{lang}}}}}}}}] • [{{fullurl:{{{1}}}|action=history}} {{{history|{{int:vector-view-history/{{{lang}}}}}}}}] • [{{fullurl:{{FULLPAGENAME}}|action=purge}} {{{purge|{{int:Code-rev-purge-link/{{{lang}}}}}}}}]</span></div>}}
<span style="font-size:150%">{{#if: {{{heading|}}} | {{{heading}}} | {{{documentation|}}} }}</span></div> }}
{{#if:{{{content|}}}<!--
<div id="template_doc_page_transcluded" class="dablink plainlinks" style="font-size:90%; line-height:1em; margin:0 0 .4em 1em;">''{{{text|}}} <span style="font-size:90%;">([{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=edit{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc }} ||&preload=Template:Documentation/preload}}}} {{{edit|}}}] | [{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=history}} {{{history|}}}])''</span></div>
-->|<!-- do not show notice when /doc is not transcluded
{{#if: {{{1|}}} |{{{{{1}}}}}|{{{{SUBJECTPAGENAME}}/doc}}}}<div style="clear:both;" /></div></div><noinclude>
-->|<!-- show notice about transclusion --><div class="template-documentation-transcludedfrom mw-content-{{dir|{{{lang}}}}}" lang="{{{lang}}}" dir="{{dir|{{{lang}}}}}">{{{text|text parameter not translated in [[Template:Documentation]]}}}</div>}}
{{#if:{{{content|}}}|{{{content}}}|<nowiki />
{{{{{1}}}}}
}}
</div>{{#ifeq:{{SUBPAGENAME}}|sandbox|[[Category:Sandbox templates]]}}<noinclude>


[[Category:Formatting templates|{{PAGENAME}}]]
[[Category:Layout templates]]
</noinclude>
</noinclude>

Latest revision as of 03:17, 23 February 2020

Documentation[{{fullurl:{{{1}}}}} Read] • [{{fullurl:{{{1}}}|action=edit&preload=Template:Documentation/preload}} Edit] • [{{fullurl:{{{1}}}|action=history}} View history] • ⧼Code-rev-purge-link/{{{lang}}}⧽
text parameter not translated in Template:Documentation

{{{{{1}}}}}