Editing Editor Tools
Jump to navigation
Jump to search
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.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 42: | Line 42: | ||
=Templates:= | =Templates:= | ||
*Names - [[Template:Names]] | *Names - [[Template:Names]] | ||
*Armory - [[Template:Armory]] | *Armory - [[Template:Armory]] | ||
*References - [[Template:References]] | *References - [[Template:References]] | ||
*Awards - [[Template:Awards]] | *Awards - [[Template:Awards]] | ||
*Kingdoms - [[Template:Kingdoms]] | *Kingdoms - [[Template:Kingdoms]] | ||
*Name Consults - [[Template:Name Consults]] | *Name Consults - [[Template:Name Consults]] | ||
*Armory Consults - [[Template:Armory Consults]] | *Armory Consults - [[Template:Armory Consults]] | ||
==To use a template:== | ==To use a template:== | ||
Open a new page like you normally would. | *Open a new page like you normally would. | ||
*(Search for "Jane Doe" and click on the name in the "'''Create the page "Jane Doe" on this wiki!'''" link.) | **(Search for "Jane Doe" and click on the name in the "'''Create the page "Jane Doe" on this wiki!'''" link.) | ||
In the edit box, put the code | *In the edit box, put the code <nowiki>{{subst:Names}}</nowiki>, or other Template name as appropriate. | ||
*Save the page without any other coding | *Save the page without any other coding | ||
*This will substitute in the Template text. | *This will substitute in the Template text. | ||
Re-open the article for editing to fill in the blanks. | *Re-open the article for editing to fill in the blanks. | ||
==Dynamic Template:== | ==Dynamic Template:== | ||
There is a special type of ''dynamic'' template used for boilerplates that will automatically update across all the created pages with that command typed in, when the boilerplate is updated. Aka "template call". Aka transclusion. | There is a special type of ''dynamic'' template used for boilerplates that will automatically update across all the created pages with that command typed in, when the boilerplate is updated. Aka "template call". Aka transclusion. | ||
* Code to include on a page is: | * Code to include on a page is: | ||
** | **<nowiki>{{BoilerplateHeader}}</nowiki> | ||
** | **<nowiki>{{BoilerplateFooter}}</nowiki> | ||
* This code is on the above templates already, so only needs to be added if a Template isn't being used to create a new page. Or if an old page is being updated to get rid of the old boilerplate. | * This code is on the above templates already, so only needs to be added if a Template isn't being used to create a new page. Or if an old page is being updated to get rid of the old boilerplate. | ||