Template:Isotopes/main/error-message and Template:Isotopes/main/error-message/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>DePiep
No edit summary
 
imported>DePiep
Replaced content with 'x'
 
Line 1: Line 1:
{{#if:{{{msg|}}}|<!-- IF-1 [not trimmed]
x
-->{{Isotopes/main/error-message/compose<!--
PARAMETERS for subtemplate to compose:
 
MSG-STR format: 'help: msg value' -->
|_MSG-STR =<!--
-->{{trim|1=<!--
-->{{#if:{{{help|}}}|{{{help|}}}|<!--
    -->{{#if:{{{sym|}}}|[[Template:Infobox {{Infobox element/symbol-to-name|symbol={{{sym|}}}|format=}} isotopes|Infobox {{{sym|}}} isotopes]]|[[Template:Infobox isotopes (meta)|Infobox isotopes]]}}}}:<!--
 
  --> {{{msg|}}} {{#if:{{{value|}}}<!--
    -->|{{Isotopes/main/error-message/format-remove-supsub<!--
        -->|1={{Isotopes/decay-mode/code/cleanup<!--
          -->|1={{KillMarkers|1={{{value|}}} }}<!--
        -->}}<!--
    -->}}<!--
  -->}}<!--
-->}}<!--
 
CATNAME -->
|_CATNAME ={{#switch:{{{catsort|}}}
|D|S|%|%na|%dm  =Isotope template trackings
||#default      =Isotope template issues
}}
 
|_CATSORT ={{str left|1={{plain text |1={{if empty|1={{{catsort|}}}|2={{{value|}}}|3={{PAGENAME}} }} }}|2=1}}<!-- single char
 
SENDER (=the template page calling {error-message} in code; debug info) -->
|_SENDER ={{{sender|}}}<!--
 
ACTION -->
|11-action-preview-show-AND        =msgclass-issue
|12-action-preview-show-AND        =msgclass-tracked
|21-action-catlink-write-persistent-AND =ns-template, isotope-page, testcases
|31-action-categorise-write-AND    =ns-main, msgclass-issue
|32-action-categorise-write-AND    =ns-template, msgclass-issue, isotope-page, rootpage, not-meta
|36-action-categorise-write-AND    =ns-template, msgclass-tracked, isotope-page, rootpage, not-meta
<!--
 
PAGE-TYPES -->
|_PAGETYPES =<!-- CSV string
 
NS (todo: option demo?)
-->{{Namespace detect<!-- |demospace={{{demospace|}}} --->
|main    =ns-main
|template =ns-template
|other    =ns-other
}}, <!--
 
is ISOTOPE-page
-->{{#switch:{{#invoke:String|match|s={{lc:{{FULLPAGENAME}}}} |pattern=isotope |plain=true |nomatch=}}
|isotope  =isotope-page<!-- has 'isotope' in fullpagename -->
||#default =not-isotope-page
}}, <!--
 
ROOTPAGE/SUBPAGE
-->{{subpage other|{{main other|rootpage|subpage}}|rootpage}}, <!--
 
MSGCLASS msgclass-tracked
-->{{#switch:{{{catsort|}}}
|D|S|%|%na|%dm  =msgclass-tracked
||#default      =msgclass-issue
}}, <!--
 
IS META template
-->{{#switch:{{lc:{{PAGENAME}}}}
|infobox isotopes (meta)
|infobox element isotopes
|infobox element  =meta
|#default        =not-meta}}, <!--
 
TEMPLATE SUBPAGES /doc /sandbox /testcases
-->{{Str find word<!--
  -->|source ={{#invoke:String|replace|source={{PAGENAME}} |pattern=%/ |replace=, |plain=false }}<!--
  -->|orw    =doc, sandbox, testcases,<!--
-->}}, <!--
-->
|}}}}<!-- CLOSE {/subtemplate}, {IF-1} ({trim} not done)
 
--><noinclude>{{documentation}}</noinclude>