Home
Random
Recent changes
Special pages
Community portal
Preferences
About Sundering
Disclaimers
Sundering
Search
User menu
Talk
Contributions
Create account
Log in
Patches
|
Items
|
Quests
|
Creatures
|
Dungeons
|
NPCs
Attributes
|
Skills
|
Titles
|
XP Augmentation
|
Luminance Augmentation
|
Tailoring
Character Creation
β’
New Player Guide
β’
User Interface
β’
Glossary
Editing
Help:Template
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Parser and Variable Functions === * '''<nowiki>{{AUTOINRCEMENT}}</nowiki>''' - A variable that increments by 1 each time used, see [[Help:Autoincrement]]. * '''<nowiki>#if:</nowiki>''' - <nowiki>{{#if: test string | value if true | value if false}}</nowiki> * '''<nowiki>#ifeq:</nowiki>''' - <nowiki>{{#ifeq: string 1 | string 2 | value if true | value if false}}</nowiki> - Compares string 1 with string 2 to see if they are equal. * '''<nowiki>#ifexist:</nowiki>''' - <nowiki>{{#ifexist: page title | value if exists | value if doesn't exist }}</nowiki>, can be used for articles or files (images). * '''<nowiki>#expr:</nowiki>''' - <nowiki>{{#expr: expression }}</nowiki> - Mathematical operations. [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23expr: Details] * '''<nowiki>{{PAGESINCATEGORY}}</nowiki>''' - <nowiki>{{PAGESINCATEGORY:Page Name}}</nowiki> - Returns the number of pages in a category. Use <nowiki>{{PAGESINCATEGORY:Page Name|R}}</nowiki> for a number without commas. * '''<nowiki>#switch:</nowiki>''' - <nowiki>{{#switch:comparison string | case=result | case=result | default result }}</nowiki> - This function compares one input value against several test cases, returning an associated string if a match is found. [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23switch: Details] * '''<nowiki>#titleparts:</nowiki>''' - <nowiki>{{#titleparts: pagename | number of segments to return | first segment to return }}</nowiki> - This function separates a pagetitle into segments based on slashes, then returns one or more of those segments as output. [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts: Details] * '''<nowiki>#vardefine</nowiki>''' - <nowiki>{{#vardefine: variablename | value }}</nowiki> - assigns variable, see [[Help:Variables]]. * '''<nowiki>#vardefineecho</nowiki>''' - <nowiki>{{#vardefineecho: variablename | value }}</nowiki> - assigns and prints variable, see [[Help:Variables]]. * '''<nowiki>#var</nowiki>''' - <nowiki>{{#var: variablename }}</nowiki> - prints current value, see [[Help:Variables]].
Summary:
Please note that all contributions to Sundering may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Sundering:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
If you're new to the wiki, please take a moment to review our
Naming Conventions
and
Page Templates
. Using proper article names and image formats/sizes keep the wiki clean and helps avoid duplicate entries. Thanks!