模板:Imglink
出自Meshal Lite
(以内容“<span class="plainlinks">[{{FULLURL:{{{page|{{{2|首页}}}}}}}} {{SERVER}}/dev/homes/lite/{{{img|{{{1|loading.gif}}}}}}]</span>”创建新页面) |
|||
第1行: | 第1行: | ||
− | <span class="plainlinks">[{{FULLURL:{{{page|{{{2|首页}}}}}}}} {{SERVER}}/dev/homes/lite/{{{img|{{{1|loading.gif}}}}}}]</span> | + | <includeonly><span class="plainlinks">[{{FULLURL:{{{page|{{{2|首页}}}}}}}} {{SERVER}}/dev/homes/lite/{{lc:{{{img|{{{1|loading.gif}}}}}}}}]</span></includeonly><noinclude>[[category:编辑]][[category:模板]] |
+ | == 模板说明 == | ||
+ | {{!}} | ||
+ | 这个模板用来生成1个图片链接(链接指向的是Wiki内的页面). 图片只能调用存储在 {{SERVER}}/dev/homes/lite/ 下的图片文件, 并直接在页面中显示出来. | ||
+ | *上传入口: {{SERVER}}/dev/ | ||
+ | |||
+ | === 参数 === | ||
+ | {{!}} | ||
+ | *1或img: 使用图片的名称(含后缀名), 这个文件名会自动转换为小写. 调用的文件必须上传到{{SERVER}}/dev/homes/lite/ 中. | ||
+ | *2或page: 指向的页面名, 默认为首页. | ||
+ | |} | ||
+ | |||
+ | === 使用 === | ||
+ | {{!}} | ||
+ | <nowiki>{{imglink|</nowiki><font color=red>ImageFileName.ext</font><nowiki>|</nowiki><font color=red>PageName</font><nowiki>}}</nowiki> | ||
+ | |} | ||
+ | |||
+ | |} | ||
+ | </noinclude> |