|
|
Line 14: |
Line 14: |
|
| |
|
| ==== Source editor ==== | | ==== Source editor ==== |
| Templates are added by using double brackets ({{code|<nowiki>{{ ... }}</nowiki>}}. For example, the template {{code|moo}} is added by typing ({{code|<nowiki>moo</nowiki>}}. | | Templates are added by using double brackets ({{code|<nowiki>{{ ... }}</nowiki>}}. For example, the template {{code|foo}} is added by typing ({{code|<nowiki>foo</nowiki>}}. |
|
| |
|
| A template's parameters are specified through the use of pipes {{code|(<nowiki>|</nowiki>)}}. | | A template's parameters are specified through the use of pipes {{code|(<nowiki>|</nowiki>)}}. |
Line 38: |
Line 38: |
| === Page creation === | | === Page creation === |
| Templates can take input in the form of standard parameters and use it to generate a pre-formatted page. | | Templates can take input in the form of standard parameters and use it to generate a pre-formatted page. |
|
| |
| ==== Examples ====
| |
| * [[:Template:WeaponPage]]
| |
| * [[:Template:SpellPage]]
| |
| * [[:Template:EquipmentPage]]
| |
| * [[:Template:MiscItemPage]]
| |
| * [[:Template:ConditionPage]]
| |
|
| |
| === Infoboxes ===
| |
|
| |
| ==== Examples ====
| |
| * [[Template:CharacterInfo]] can generate character infoboxes for Companions, NPCs, and other creatures.
| |
|
| |
| === Pre-formatted information ===
| |
|
| |
| ==== Examples ====
| |
| * [[Template:DamageInfo]]: can insert pre-formatted damage information.
| |
| * [[Template:DamageText]]: can insert pre-formatted damage information.
| |
| * [[Template:Action]]
| |
| * [[Template:Condition]]
| |
| * [[Template:Ability]] can add Ability Scores.
| |
| * [[Template:Class]] can add Classes.
| |
| * [[Template:SAI]] for '''S'''pell and '''A'''ction '''I'''con Links.
| |
| * [[Template: Advantage]]
| |
|
| |
| === Icons ===
| |
|
| |
| ==== Examples ====
| |
| * [[Template:Icon]]
| |
| * [[Template:SmallIcon]]
| |
| * [[Template:ItemIcon]]
| |
| * [[Template:RarityItem]]
| |
|
| |
| === Navboxes ===
| |
|
| |
| ==== Examples ====
| |
|
| |
| === Pre-formatted text ===
| |
|
| |
| ==== Examples ====
| |
| * [[Template:Hatnote]]
| |
| * [[Template:Disambig]]
| |
|
| |
|
| == See also == | | == See also == |