Šablonas:Invokes: Skirtumas tarp puslapio versijų

Iš MCSlime.LT.
Pereiti į navigaciją Jump to search
(Naujas puslapis: <includeonly>{{#ifeq:{{NAMESPACE}}|Module|<div class="seealso">'''''{{#replace:{{FULLPAGENAME}}|/doc}}''' is invoked by [[{{{page|Template:{{{1}}}}}}]].{{#ifeq:{{lc:{{{category}}}}}|no||{{#ifeq:{{SUBPAGENAME}}|doc||Category:Template invoked modules}}}}''</div>|<div class="seealso">'''''{{#replace:{{FULLPAGENAME}}|/doc}}''' invokes [[Module:{{{1}}}]] using Lua.{{#ifeq:{{lc:{{{category}}}}}|no||{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Lua-based templates]...)
 
SNėra keitimo santraukos
 
1 eilutė: 1 eilutė:
<includeonly>{{#ifeq:{{NAMESPACE}}|Module|<div class="seealso">'''''{{#replace:{{FULLPAGENAME}}|/doc}}''' is invoked by [[{{{page|Template:{{{1}}}}}}]].{{#ifeq:{{lc:{{{category}}}}}|no||{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Template invoked modules]]}}}}''</div>|<div class="seealso">'''''{{#replace:{{FULLPAGENAME}}|/doc}}''' invokes [[Module:{{{1}}}]] using [[RuneScape:Lua|Lua]].{{#ifeq:{{lc:{{{category}}}}}|no||{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Lua-based templates]]}}}}''</div>}}</includeonly><noinclude>{{/doc}}</noinclude>
<includeonly>{{#ifeq:{{NAMESPACE}}|Module|<div class="seealso">'''''{{#replace:{{FULLPAGENAME}}|/doc}}''' is invoked by [[{{{page|Template:{{{1}}}}}}]].{{#ifeq:{{lc:{{{category}}}}}|no||{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Template invoked modules]]}}}}''</div>|<div class="seealso">'''''{{#replace:{{FULLPAGENAME}}|/doc}}''' invokes [[Module:{{{1}}}]] using [[Lua]].{{#ifeq:{{lc:{{{category}}}}}|no||{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Lua-based templates]]}}}}''</div>}}</includeonly><noinclude>{{/doc}}</noinclude>

Dabartinė 15:59, 11 balandžio 2025 versija

Template documentation
This documentation is transcluded from Šablonas:Invokes/doc. [edit] [history] [purge]

This template should be put near the beginning of a template or module's documentation page to link to a module that the template invokes, or a template that invokes the module (respectively).

{{Invokes|ModuleName}}
or
{{Invokes|TemplateName}}

Parameters[redaguoti vikitekstą]

(1)[redaguoti vikitekstą]

On a template documentation page, this parameter should be supplied with the page title for a module that the template invokes (without the "Module:" namespace prefix).
For example:

{{Invokes|Sandbox}}

Result (if on the Šablonas:Invokes page):

Šablonas:Invokes invokes Module:Sandbox using Lua.

On a module documentation page, this parameter should be supplied with the page title for a template that invokes the module (without the "Template:" namespace prefix).
For example:

{{Invokes|Sandbox}}

Result (if on the Module:Sandbox page):

Module:Sandbox is invoked by Template:Sandbox.

page[redaguoti vikitekstą]

Optional parameter for use on module documentation pages. It allows overriding the default behaviour (linking to [[Template:{{{1}}}]]) to instead link to a template page that's outside of the Template namespace. The parameter should be supplied with the full page title, including any namespace prefix.