Display title | Help:Switch parser function |
Default sort key | Switch parser function |
Page length (in bytes) | 6,501 |
Namespace ID | 12 |
Namespace | Help |
Page ID | 10532 |
Page content language | en - English |
Page content model | wikitext |
Indexing by robots | Allowed |
Number of redirects to this page | 0 |
Counted as a content page | Yes |
Number of subpages of this page | 0 (0 redirects; 0 non-redirects) |
Edit | Allow all users (infinite) |
Move | Allow all users (infinite) |
Page creator | Prd (talk | contribs) |
Date of page creation | 16:56, 2 March 2025 |
Latest editor | Prd (talk | contribs) |
Date of latest edit | 16:56, 2 March 2025 |
Total number of edits | 1 |
Total number of distinct authors | 1 |
Recent number of edits (within past 90 days) | 1 |
Recent number of distinct authors | 1 |
Description | Content |
Article description: (description ) This attribute controls the content of the description and og:description elements. | The switch parser function, coded as "#switch", selects the first matching branch in a list of choices, acting as a case statement.
Each branch can be a value, an expression (calculation), or a template call, evaluated and compared to match the value of the switch. Although many #switch structures are... |