如何解析信息框内{{}}(大括号)内的属性值 [英] How to parse the attributes value inside {{}} (curly braces) inside a infobox

查看:152
本文介绍了如何解析信息框内{{}}(大括号)内的属性值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Wikipedia的信息框"内,某些属性值也在花括号{{}}中..有时它们也有lins ..我需要在花括号内显示值,该值显示在Wikipedia网页上. 我也阅读了这些模板..谁能给我一些链接或指导我如何处理它?<​​/p>

Within Infobox at wikipedia some attributes values are also inside curly braces {{}}.. Some time they have lins also.. I need values inside the braces, which is displayed on wikipedia web page. I read these are templates also.. Can anyone give me some link or guide me how do I deal with it?

推荐答案

双大括号{{}}定义对某种魔术字,变量,解析器函数或模板的调用.可以在 MediaWiki.org/.../Manual:Magic_words .看起来像|的小行称为管道,并用作分隔符, wikicore解析引擎定义可以与魔术词,变量,解析器功能或模板一起使用的参数.

Double-curly-braces {{}} define a call to some kind of magic word, variable, parser function, or template.. Help can be found on MediaWiki.org/.../Manual:Magic_words. The little lines that look like | are called pipes and are used to as separators that allow the wikicore parsing engine to define parameters that can be used with the magic word, variable, parser function, or template..

这篇关于如何解析信息框内{{}}(大括号)内的属性值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆