Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>Henstepl
Simpler layout of code
/>Henstepl
Fix/cut
Line 6: Line 6:
|&link7={{{dep3}}}&link7={{{dep3}}}/doc}}{{#if:{{{dep4|}}}
|&link7={{{dep3}}}&link7={{{dep3}}}/doc}}{{#if:{{{dep4|}}}
|&link9={{{dep4}}}&link8={{{dep4}}}/doc}} Export this template]''', then [[Help:Importing|import]], to install it.
|&link9={{{dep4}}}&link8={{{dep4}}}/doc}} Export this template]''', then [[Help:Importing|import]], to install it.
<!--:''Or copy [{{FULLURL:{{FULLPAGENAME}}}}?action=edit {{FULLPAGENAME}}]<sup>[[Special:Export/{{FULLPAGENAME}}|export]]</sup>, [{{FULLURL:{{FULLPAGENAME}}/doc}}?action=edit {{FULLPAGENAME}}/doc]<sup>[[Special:Export/{{FULLPAGENAME}}/doc|export]]</sup>{{#if:{{{dep1|}}}|,
[{{FULLURL:{{{dep1}}}}}?action=edit {{{dep1}}}]<sup>[[Special:Export/{{{dep1}}}|export]]</sup>{{#if:{{{dep2|}}}|,
[{{FULLURL:{{{dep2}}}}}?action=edit {{{dep2}}}]<sup>[[Special:Export/{{{dep2}}}|export]]</sup>}}{{#if:{{{dep3|}}}|,
[{{FULLURL:{{{dep3}}}}}?action=edit {{{dep3}}}]<sup>[[Special:Export/{{{dep3}}}|export]]</sup>}}}} to the same locations on your wiki. [[Help:How_to_copy_templates_to_your_wiki|Need help?]]''-->
:''Use edit summary: ''<code><nowiki>Copied from [[w:c:templates:</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki></code>'' to properly attribute this template's editors.''}}{{#if:{{{vanilla|}}}|
:''Use edit summary: ''<code><nowiki>Copied from [[w:c:templates:</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki></code>'' to properly attribute this template's editors.''}}{{#if:{{{vanilla|}}}|
:''This template is compatible with vanilla Mediawiki.''}}
:''This template is compatible with vanilla Mediawiki.''}}
Line 31: Line 27:
{{#ifeq:{{CONTENTLANG}}|en||{{#if:{{{en|}}}|[[Category:Interwiki specified]][[en:{{{en}}}]]|{{#switch:{{{nothing|{{Is EN 1}}{{Is EN 2}}{{Is EN 3}}}}}|true=[[en:Template:{{PAGENAME}}]]}}}}}}|<span style="color:red;">'''You don't want this version of the documentation template on your wiki! [{{fullurl:Template:Documentation}}?action=history Click here to revert it.]'''</span>
{{#ifeq:{{CONTENTLANG}}|en||{{#if:{{{en|}}}|[[Category:Interwiki specified]][[en:{{{en}}}]]|{{#switch:{{{nothing|{{Is EN 1}}{{Is EN 2}}{{Is EN 3}}}}}|true=[[en:Template:{{PAGENAME}}]]}}}}}}|<span style="color:red;">'''You don't want this version of the documentation template on your wiki! [{{fullurl:Template:Documentation}}?action=history Click here to revert it.]'''</span>


For a documentation template you can use on your wiki, see [[w:c:templates:Template:Documentation (copy)]].}}</includeonly></onlyinclude><!--
For a documentation template you can use on your wiki, see [[w:c:templates:Template:Documentation (copy)]].}}</onlyinclude></includeonly>
 
  End of documentation blob - the ONLY part returned if called by "Template:Documentation (copy)"
 
-->
{{#ifeq:{{PAGENAME}}|Documentation (copy)||
{{#ifeq:{{PAGENAME}}|Documentation (copy)||
{{{!}} class="article-table" style="width:100%;" role="complementary"
{{{!}} class="article-table" style="width:100%;" role="complementary"

Revision as of 07:18, 2 February 2018

{{#ifeq:Documentation|Documentation (copy)||

}} {{#ifeq:Documentation|Documentation (copy)|| {{#if:|{{{content}}}| {{#if:|{{{{{1}}}}}|Template:Documentation/doc}} }}}} </includeonly>--> Template:Documentation Template:Documentation (copy)