Don't like the ads? Then create an account! Users with accounts have more options than anonymous users.

Difference between revisions of "Template:Edit"

From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(created edit template)
 
(The)
 
Line 8: Line 8:
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 (:), apostrophes (') and regular dashes (-) are not affected, other symbols may need to be entered as code, including ampersands (&). For example, <code>%26</code> is substituted for <code>&</code>, and <code>_</code> for the space.
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 (:), apostrophes (') and regular dashes (-) are not affected, other symbols may need to be entered as code, including ampersands (&). For example, <code>%26</code> is substituted for <code>&</code>, and <code>_</code> for the space.


Original template is from [[mariowiki:Template:Edit|Super Mario Wiki]].
The original template is from the [[mariowiki:Template:Edit|Super Mario Wiki]].


[[Category:Navigation templates|*]]</noinclude>
[[Category:Navigation templates|*]]</noinclude>

Latest revision as of 12:55, February 4, 2022

[[{{fullurl:Template:{{{1}}}|action=edit}} Edit]]

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:OOT, {{edit|OOT}} would be used, and the coding at the top of the template would look like this:

{| class="mw-collapsible mw-collapsed navbox"
!colspan=2 style=background:#CC0000|{{edit|OOT}} ''[[The Legend of Zelda: Ocarina of Time]]''
|-

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 (:), apostrophes (') and regular dashes (-) are not affected, other symbols may need to be entered as code, including ampersands (&). For example, %26 is substituted for &, and _ for the space.

The original template is from the Super Mario Wiki.