Template:Edit: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Text replacement - "{{[Ee]dit\|([^}\n]+)}}([^ \n])" to "{{edit|$1}} $2")
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="float:left;width:3.4em;text-align:left;text-transform:lowercase;padding:0 0 0 0.3em">[<span class="plainlinks">[{{fullurl:Template:{{{1}}}|action=edit}} {{int:edit}}]</span>]</div><noinclude>{{br}}
<includeonly><div class="navspace nomobile" style="min-width:3.729em;float:left;text-align:left;text-transform:lowercase;padding-left:0.3em">[<span class="plainlinks">[{{fullurl:Template:{{{1}}}|action=edit}} {{int:edit}}]</span>]</div></includeonly><noinclude>
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 <code><nowiki>{{edit|NAME}}</nowiki></code>, where "NAME" is the name of the template (minus "Template:"). For example, on [[Template:MB]], <code><nowiki>{{edit|MB}}</nowiki></code> would be used, and the coding at the top of the template would look like this:
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 <code><nowiki>{{edit|NAME}} </nowiki></code>, where "NAME" is the name of the template (minus "Template:"). For example, on [[Template:MB]], <code><nowiki>{{edit|MB}} </nowiki></code> would be used, and the coding at the top of the template would look like this:


<pre>{| class="mw-collapsible mw-collapsed navtemplate mario"
<pre>
!colspan=2 style=background:#CC0000|{{edit|MB}} ''[[Mario Bros. (game)|Mario Bros.]]
{| class="mw-collapsible mw-collapsed navbox mario"
|-</pre>
!colspan=2 style=background:#CC0000|{{edit|MB}} ''[[Mario Bros. (game)|Mario Bros.]]''
</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 (:), 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|*]]</noinclude>
 
[[Category:Navigation templates|*]]
</noinclude>

Latest revision as of 10:43, May 9, 2022

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

{| class="mw-collapsible mw-collapsed navbox mario"
!colspan=2 style=background:#CC0000|{{edit|MB}} ''[[Mario Bros. (game)|Mario Bros.]]''