Template:Fullurl/doc

From NeuroWiki
Jump to navigation Jump to search
[ Purge ]
This is the documentation page, it should be placed in should. See Template:Documentation for more information.

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

no description

Default
{{FULLPAGENAME}}
Example
en:Minecraft Wiki
Page nameoptional
22

no description

Example
veaction{{=}}edit&section{{=}}1
Stringoptional
actionaction

no description

Example
edit&section=1
Stringoptional
texttext 3

no description

Stringoptional
nolinknolink

no description

Auto value
1
Stringoptional

示例

  • 源代码编辑“方块”的URL(创建链接):-{}-{{fullurl|方块|action=edit}}

效果:{{#vardefine: $fullurl-url | {{fullurl:{{#replace:方块| |_}} | action=edit }} }}[{{#var: $fullurl-url }} {{#var: $fullurl-url }}]

  • 源代码编辑“方块”第1段的URL(不创建链接):-{}-{{fullurl|方块|action=edit&section=1|nolink=1}}

效果:{{#vardefine: $fullurl-url | {{fullurl:{{#replace:方块| |_}} | action=edit&section=1 }} }} {{#var: $fullurl-url }}

  • 源代码编辑“方块”第1段的URL(创建链接),链接名称为“编辑页”:-{}-{{fullurl|方块|action=edit&section=1|text=编辑页}}

效果:{{#vardefine: $fullurl-url | {{fullurl:{{#replace:方块| |_}} | action=edit&section=1 }} }}[{{#var: $fullurl-url }} 编辑页]

  • 可视化编辑“方块”第1段的URL(创建链接),链接名称为“编辑页”:-{}-{{fullurl|方块|veaction{{=}}edit&section{{=}}1|编辑页}}

效果:{{#vardefine: $fullurl-url | {{fullurl:{{#replace:方块| |_}} | {{#replace:veaction=edit&section=1| |_}} }} }}[{{#var: $fullurl-url }} 编辑页]


en:Template:Fullurl/doc