10,975
editsAd placeholder
Help:Editing manual: Difference between revisions
Jump to navigation
Jump to search
→Page Creation Templates
Line 94: | Line 94: | ||
We use templates like [[:Template:WeaponPage|WeaponPage]] to maintain a clean, consistent style across a large number of pages that share similar properties, such as [[Spell]]s, [[Weapon]]s, and other [[Equipment]]. These templates take your input in the form of standard parameters and use it to generate a pre-formatted page, optimise the page for search engines and embedded social media links, and add the page to the appropriate categories. | We use templates like [[:Template:WeaponPage|WeaponPage]] to maintain a clean, consistent style across a large number of pages that share similar properties, such as [[Spell]]s, [[Weapon]]s, and other [[Equipment]]. These templates take your input in the form of standard parameters and use it to generate a pre-formatted page, optimise the page for search engines and embedded social media links, and add the page to the appropriate categories. | ||
Another great benefit of this approach is that it allows us to populate database tables with the provided information. For example, every time you use Template:WeaponPage to add a weapon to the wiki, it's automatically added to a database table which can be queried from elsewhere. This is, for example, how the lists on weapon type pages like [[Longswords]] are generated. | Another great benefit of this approach is that it allows us to populate database tables with the provided information. For example, every time you use [[Template:WeaponPage]] to add a weapon to the wiki, it's automatically added to a database table which can be queried from elsewhere. This is, for example, how the lists on weapon type pages like [[Longswords]] are generated. | ||
Examples: | Examples: |