Welcome to the Power Master Wiki! Content is being updated with data from the new demo. Enjoy your time here!
Difference between revisions of "Template:Edit"
m (Mario Wiki?) |
m (3 revisions imported: adding templates) |
||
Line 6: | Line 6: | ||
|-</pre> | |-</pre> | ||
Keep in mind that the names of the template must be added as they appear ''in the address bar'', meaning it is case-sensitive, spaces must be rendered as underscores ( _ ) and while colons (:), | Keep in mind that the names of the template must be added as they appear ''in the address bar'', meaning it is case-sensitive, spaces must be rendered as underscores ( _ ) and while colons (:), apostraphes (') and regular dashes (-) are not affected, other symbols may need to be entered as code, including ampersands (&). For example, on [[Template:P&DSMBE Levels]], <code><nowiki>{{edit|P%26DSMBE_Levels}}</nowiki></code> must be used, substituting <code>%26</code> for <code>&</code>, and <code>_</code> for the space. | ||
[[Category:Navigation templates|*]] | [[Category:Navigation templates|*]] | ||
</noinclude> | </noinclude> |
Revision as of 04:03, 16 February 2019
This template is to be placed on every navigation template directly in front of the title in the template's header. It must be typed in the form of {{edit|NAME}}
, where "NAME" is the name of the template (minus "Template:"). For example, on Template:PM1, {{edit|PM1}}
would be used, and the coding at the top of the template would look like this:
{| class="mw-collapsible mw-collapsed navtemplate pm1" !colspan=2 style=background:#CC0000|{{edit|PM1}} ''[[Power Master 1: A Strange Journey]] |-
Keep in mind that the names of the template must be added as they appear in the address bar, meaning it is case-sensitive, spaces must be rendered as underscores ( _ ) and while colons (:), apostraphes (') and regular dashes (-) are not affected, other symbols may need to be entered as code, including ampersands (&). For example, on Template:P&DSMBE Levels, {{edit|P%26DSMBE_Levels}}
must be used, substituting %26
for &
, and _
for the space.