Template:Vde: Difference between revisions

From PZwiki
m (added adjustable colour to letters)
m (removed default color value)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks" style="color:{{{text|#000}}};">[[Template:{{{1}}}|<span title="View this template." style="color:{{{text|}}}">v</span>]] • [[Template talk:{{{1}}}|<span title="Discuss this template." style="color:{{{text|}}}">d</span>]] • [{{fullurl:Template:{{{1}}}|action=edit}} <span title="Edit this template. Be sure to preview any changes before submitting." style="color:{{{text|}}}">e</span>]</span></includeonly><noinclude><br><br>{{Vde|vde}}</noinclude>
<noinclude>
{{documentation/sandbox|doc=
{{Deprecated}}
The {{tll|vde}} template is used to quickly add links to a template's "view", "talk" and "edit" pages.
 
==Usage==
{{tll|vde|TEMPLATENAME}}
 
{{vde|vde}}
 
 
This template is intended to be used on in progress templates that may require contribution from the broader community.
 
It should be used sparingly on templates that are considered 'complete' and that do not require much modification. Including this template on high risk templates may result in excessive edits resulting in functionality and layout breaking.
 
==Parameters==
;<code>1</code>{{sup|required}}
:The name of the template to be linked to. Should be the name of the template that it's used on.
;<code>color</code>
:Changes the color of all the text that isn't a link.
;<code>text-color</code>
:Changes the color of all the text, including links. ''Overrides <code>color</code> and <code>link-color</code>.''
;<code>link-color</code>
:Changes the link-color.
;<code>font-size</code>
:Font size of the text. Default is 0.8em.
 
{{Translation guide}}
 
==See also==
*{{ll|Template:Infobox nc}}
 
 
}}
{{ll|Category:Metatemplates}}
</noinclude><includeonly><span class="plainlinks" style="color:{{{text-color|{{{color|}}}}}}; float:left; font-size: {{{font-size|0.8em}}}; font-weight: normal;">[[Template:{{{1}}}|<span title="View this template." style="color:{{{text-color|{{{link-color|}}}}}}">v</span>]] • [[Template talk:{{{1}}}|<span title="Discuss this template." style="color:{{{text-color|{{{link-color|}}}}}}">d</span>]] • [{{fullurl:Template:{{{1}}}|action=edit}} <span title="Edit this template. Be sure to preview any changes before submitting." style="color:{{{text|}}}">e</span>]</span></includeonly>

Latest revision as of 01:05, 27 January 2024

Notebook.pngTemplate Documentation
Imbox content.png
This template is deprecated.
This template will eventually be removed.

The {{vde}} template is used to quickly add links to a template's "view", "talk" and "edit" pages.

Usage

{{vde|TEMPLATENAME}}

vde


This template is intended to be used on in progress templates that may require contribution from the broader community.

It should be used sparingly on templates that are considered 'complete' and that do not require much modification. Including this template on high risk templates may result in excessive edits resulting in functionality and layout breaking.

Parameters

1Required
The name of the template to be linked to. Should be the name of the template that it's used on.
color
Changes the color of all the text that isn't a link.
text-color
Changes the color of all the text, including links. Overrides color and link-color.
link-color
Changes the link-color.
font-size
Font size of the text. Default is 0.8em.

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.