Template:Edit: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (Text replacement - "Navigation subtemplates" to "Navbox subtemplates")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<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>
<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:
== Usage ==
This template is placed in the header of every [[MarioWiki:Navigation templates|navigation template]], directly in front of the title.
 
It must be typed in the form <code><nowiki>{{edit|NAME}}</nowiki></code>, where "NAME" is the name of the navigation template (minus "<tt>Template:</tt>").
 
=== Example ===
On [[Template:MB]], <code><nowiki>{{edit|MB}}</nowiki></code> would be used. The syntax for the top of the navigation template would look like this:


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


[[Category:Navigation templates| ]]</noinclude>
[[Category:Navbox subtemplates]]</noinclude>

Latest revision as of 22:24, June 4, 2024

Usage

This template is placed in the header of every navigation template, directly in front of the title.

It must be typed in the form {{edit|NAME}}, where "NAME" is the name of the navigation template (minus "Template:").

Example

On Template:MB, {{edit|MB}} would be used. The syntax for the top of the navigation template would look like this:

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