Template:Ifexpr: Difference between revisions
From Katawa Shoujo Wiki
imported>TheWallflower00 Replaced content with "<includeonly>{{{{{|safesubst:}}}{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}#ifexpr:{{{1}}}|p1|p2}}|p1=p1|p2=p2|if/errmsg}}|{{{2}}}|{{{3|}}}|{{{1}}}}}</includeonly><noin..." |
imported>TheWallflower00 Created page with "<noinclude><!-- -============================================================= - If/errmsg - Show message for Template:If or Template:Ifexpr -=================================..." |
||
Line 1: | Line 1: | ||
< | <noinclude><!-- | ||
-============================================================= | |||
- If/errmsg - Show message for Template:If or Template:Ifexpr | |||
-============================================================= | |||
- (see NOTES at bottom) | |||
- | |||
--></noinclude><br> | |||
<font color="#FF5511">'''ERROR: invalid parameters for [[Template:{{{t|Ifexpr}}}]]''':<br> <nowiki>{{</nowiki>{{{t|Ifexpr}}}...|{{{3}}}|{{{1}}}|{{{2}}}<nowiki>}}</nowiki><br> Check for invalid numbers, or parameter 1 must be empty when using "1=" format.</font><noinclude> | |||
<!-- | |||
-------------------------------------------------------------- | |||
--NOTES | |||
-- [ These comments are skipped by <noinclude> so they will | |||
-- be omitted & not sent in a formatted Internet page. ] | |||
-- | |||
-- NOTE A1: This template displays advisory messages for | |||
-- either the Template:If or Template:Ifexpr. | |||
-- | |||
-- NOTE S2: This template can be subst-substituted by using | |||
-- {{subst:str_range|...}} to save only the results, or | |||
-- {{{{{|safesubst:}}}str_range}} using blank parameter. | |||
-- | |||
-------------------------------------------------------------- | |||
--HISTORY: | |||
--03Dec10 Created to extract substring range with real spaces. | |||
--03Dec10 Put NOTES comments to explain template coding. | |||
--03Dec10 Put HISTORY comments to log major changes (not typos). | |||
--03Dec10 New parameter {t} template name (default: t=Ifexpr). | |||
--03Dec10 Added "Check for invalid numbers, or...". | |||
-- | |||
--> | |||
{{documentation}} | {{documentation}} | ||
[[Category:General wiki templates]] | [[Category:General wiki templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:22, 17 January 2017
ERROR: invalid parameters for Template:Ifexpr:
{{Ifexpr...|{{{3}}}|{{{1}}}|{{{2}}}}}
Check for invalid numbers, or parameter 1 must be empty when using "1=" format.
Template documentation (for the above template, sometimes hidden or invisible)
ERROR: invalid parameters for Template:Ifexpr:
{{Ifexpr...|{{{3}}}|{{{1}}}|{{{2}}}}}
Check for invalid numbers, or parameter 1 must be empty when using "1=" format.
Visit Template:Ifexpr/doc to edit this text! (How does this work?)