hostease主机优惠

Mediawiki中文技术论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 10479|回复: 0

Mediawiki模板(二)

[复制链接]
发表于 2012-1-31 09:12:14 | 显示全部楼层 |阅读模式
HostEase主机优惠
A template only works when referred to from a page in the same project. To use it in another project, one has to copy it to there.

模板只能在本工程中使用,如果要在外部工程中引用必须复制过去
As usual the name is case sensitive except (on most projects) for the first letter, and a blank space is equivalent with an underscore.
一般来说,大多数工程中名字首字母是区分大小写的,一个空格等同于下划线

Recursive inclusion is possible.

递规包含是可以实现的
A variable in a template is evaluated after insertion in the referring page, i.e. if {{PAGENAME}} occurs in the wikitext of a template, it is rendered as the name of the referring page, not the name of the template.
一个模板变量在插入一个页面后会被评估,如果在一个模板的wikitext中出现{{PAGENAME}},它被认为是一个普通页面链接,而不是当作一个模板的名字.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

美国HostEase虚拟主机一年198元

Archiver|手机版|小黑屋|Mediawiki中文技术论坛

GMT+8, 2024-3-29 07:01 , Processed in 0.042768 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表