Template:Documentation: Difference between revisions
(switched to table (stretches to accommodate floating contents)) |
(+ preload on [edit] link when documentation page doesn't exist (idea taken from {{template doc inline}} where it was added by user:AzaToth, added conditional)) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| style="width:100%; padding:5px; background:#ECFCF4; border:1px solid #AAA; clear:both;" class="plainlinks template-documentation" | {| style="width:100%; padding:5px; background:#ECFCF4; border:1px solid #AAA; clear:both;" class="plainlinks template-documentation" | ||
| </div><div style="border-bottom:1px solid #AAA; margin-bottom:0.5em;"><span class="editsection"><nowiki>[</nowiki>[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]] [[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=edit}} edit]]</span><big>'''{{SUBJECTSPACE}} documentation'''</big></div>{{{{{1|{{SUBJECTPAGENAME}}/doc}}}}} | | </div><div style="border-bottom:1px solid #AAA; margin-bottom:0.5em;"><span class="editsection"><nowiki>[</nowiki>[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]] [[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=edit{{#ifexist:{{{1|{{SUBJECTSPACE}}:{{SUBJECTPAGENAMEE}}/doc}}}||&preload={{SUBJECTSPACE}}:Documentation/preload}}}} edit]]</span><big>'''{{SUBJECTSPACE}} documentation'''</big></div>{{{{{1|{{SUBJECTPAGENAME}}/doc}}}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Revision as of 08:30, 3 October 2007
[view] [[//rocketwiki.danno.org/index.php?title=Template:Documentation/doc&action=edit{{#ifexist:Template:Template:Documentation/doc |
&preload=Template:Documentation/preload}} edit]]Template documentationTemplate:Documentation/doc |