Template:Assign edit button

From Moegirlpedia
Revision as of 22:43, 3 October 2023 by LiaMinina (talk | contribs) (Created page with "<span class="plainlinks">[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} {{{2|Click me to edit '''{{{1|{{FULLPAGENAME}}}}}'''}}}]</span><noinclude>{{doc}}Category:Internal...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Click me to edit Template:Assign edit button

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

Syntax

  • Variable 1: The name of the article to edit. The default value is the full name of the page that references this template. If the page referencing this template is not in the (Main:) namespace, then the default value of Variable 1 will contain the namespace of the page.
  • Variable 2: Replaceable text. The default value is "Click me to edit Variable 1".

Usage

{{Assign edit button|1=(Variable 1)|2=(Variable 2)}}

Or:

{{Assign edit button|(Variable 1)|(Variable 2)}}

Or:

{{Assign edit button|(Variable 1)}} (Omitting Variable 2)

Examples

{{Assign edit button|1=Template:Moe points/Others|2=Edit Template:Moe points/Others}}

Result: Edit Template:Moe points/Others

{{Assign edit button|1=Template:Moe points/Others}}

Result: Click me to edit Template:Moe points/Others

See also

  • {{ColoredEdit}}: Provides more perfect link color definition functions.