Template:MONTHNUMBER: Difference between revisions

From Simulacrum Wiki
Jump to navigation Jump to search
m (1 revision imported)
wikip>Dinoguy1000
(make subst:able)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}
<includeonly>{{safesubst:<noinclude/>#if:{{{1|}}}
  |{{#switch:{{lc:{{{1}}}}}
  |{{safesubst:<noinclude/>#switch:{{safesubst:<noinclude/>lc:{{{1}}}}}
   |january|jan=1
   |january|jan=1
   |february|feb=2
   |february|feb=2
Line 13: Line 13:
   |november|nov=11
   |november|nov=11
   |december|dec=12
   |december|dec=12
   |{{#ifexpr:{{{1}}}<0
   |{{safesubst:<noinclude/>#ifexpr:{{{1}}}<0
   |{{#ifexpr:(({{{1}}})round 0)!=({{{1}}})
   |{{safesubst:<noinclude/>#ifexpr:(({{{1}}})round 0)!=({{{1}}})
     |{{#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}
     |{{safesubst:<noinclude/>#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}
     |{{#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}
     |{{safesubst:<noinclude/>#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}
   }}
   }}
   |{{#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}
   |{{safesubst:<noinclude/>#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}
   }}
   }}
  }}
  }}

Revision as of 21:07, 6 February 2024

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
Create documentation for this template. (How does this work?)
Editors can experiment with this template's sandbox and testcases.

Documentation does not exist. Create it at Template:MONTHNUMBER/doc.


Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:MONTHNUMBER]] to properly attribute this template's editors.
There is no additional installation instructions for this template. If there is any, you may create it at Template:MONTHNUMBER/install.