Difference between revisions of "Template:Documentation"

From Minetest Wiki
Jump to navigation Jump to search
m (Undo revision 15183 by MrIbby (talk))
(Replaced with module)
Line 1: Line 1:
<div>
+
{{#invoke:documentation|main}}
<div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 12px">
 
<div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex; {{#ifeq: {{{heading}}} | | display: none; }}"><!-- Don't display the start box if the heading arg is defined but blank. -->
 
<span style="font-weight: bold; font-size: 125%">{{
 
#if: {{{heading|}}}
 
| {{{heading}}}
 
| [[File:Documentation icon.png|50px|link=]] Documentation
 
}}</span>
 
<span class="plainlinks" style="font-size: small; font-weight: 400; margin-left: 1em; vertical-align: baseline; line-height: 1em; display: inline-block;">
 
<!-- Escape square brackets with HTML entities. &#91; for left bracket and &#93; for right bracket. -->
 
{{
 
#ifexist: {{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}
 
| &#91;[[:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|view]]&#93; &#91;[{{fullurl:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|action=edit}} edit]&#93; &#91;[{{fullurl:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|action=history}} history]&#93; &#91;[{{fullurl:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|action=purge}} purge]&#93;
 
| &#91;[{{fullurl:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|action=edit}} create]&#93;
 
}}
 
</span>
 
</div>
 
{{
 
#ifexist: {{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}
 
| {{:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}}}
 
}}
 
{{-}}<!-- So right or left floating items don't stick out of the doc box. -->
 
</div>
 
<div class="plainlinks" style="clear: both; width: 100%; border: 1px solid #aaa; margin: .2em 0; background-color: #ecfcf4; {{#ifeq: {{{link box}}} | off | display: none; }}">
 
<div style="border: none; width: 100%; padding: .25em .9em; font-style: italic">{{
 
#if: {{{link box|}}}
 
| {{{link box}}}
 
| The above [[wikipedia:Wikipedia:Template documentation|documentation]] is [[wikipedia:Transclusion|transcluded]] from [[:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}]]. <small style="font-style: normal;">([{{fullurl:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|action=edit}} edit] &#124; [{{fullurl:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|action=history}} history])</small><br/>
 
Please add categories to the [[:{{{1|{{{page|{{FULLPAGENAME}}}}}/doc}}}|/doc]] subpage. [[Special:PrefixIndex/{{{page|{{FULLPAGENAME}}}}}/|Subpages of this page]].
 
}}</div>
 
</div>
 
</div>
 

Revision as of 05:11, 10 May 2017

Lua error in Module:Documentation at line 49: attempt to concatenate field 'default-heading' (a nil value).