Difference between revisions of "Template:Documentation"

m
m (Some modifications/testing)
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
+
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
{{#ifeq:{{SUBPAGENAME}}|doc
+
<!-- Add categories to the /doc subpage -->
|<!-- Subpage header --><!--
+
</noinclude>
 
 
--><table style="border:1px solid #aaa;background-color:#F9F9F9;color: black;width:80%;margin:0 auto 1em auto;padding:.2em;"><tr>
 
<td>[[File:Essay.png|50px]]</td>
 
<td>'''This is a documentation subpage]] for [[{{NAMESPACE}}:{{BASEPAGENAME}}]]''' <span style="font-size:85%">(see that page for the template itself)</span>.<br />It contains usage information, categories and other content that is not part of the original template page.</td>
 
</tr></table>
 
 
 
|<!-- Template header --><!--
 
 
 
--><div style="clear:both; margin:1em 0 0 0; padding:5px 15px 5px 15px; border:1px solid #aaa; background-color:#fafafa; color:black">
 
 
 
<div style="padding-bottom:1px; border-bottom:1px solid #aaa; margin-bottom:1px">
 
<span class="editsection plainlinks" id="doc_editlinks">{{#ifeq:{{NAMESPACE}}|Template|<small>[[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]] [[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history]] [[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]]</small>}}</span>  
 
<span style="font-weight:bold; font-size:125%">[[File:Essay.png|20px]] Template documentation</span>
 
</div>
 
 
 
{{#ifeq:{{NAMESPACE}}|Template|<span style="font-size:85%">This template documentation is transcribed from [[{{FULLPAGENAME}}/doc]].</span>}}<br />
 
 
 
<div style="clear:both; margin-bottom:25px"></div><!-- The main DIV tag is intentionally left unclosed - for obvious reasons -->
 
}}</includeonly><noinclude>{{/doc}}
 
[[Category:Templates|Documentation]]</noinclude>
 

Revision as of 19:02, 18 August 2022