(Translated by https://www.hiragana.jp/)
维基专题:微格式 - 维基百科,自由的百科全书 とべ转到内容ないよう

维基专题:ほろ格式かくしき

维基百科ひゃっか自由じゆうてき百科ひゃっかぜん
重定しげさだこうWikipedia:UF
ほろ格式かくしき专题
かいとし方式ほうしきUF
ぶん使用しようほろ格式かくしきてきばん
维基どもとおる资源Commons:Category:Templates generating microformats Templates generating microformats
よう户框{{User Pigsonthewing Microformats}}

什么ほろ格式かくしき

[编辑]

ほろ格式かくしき(Microformat),どおり过语しょう关让内容ないようじんつくえ读。网页じょうてきまこと许的ほろ格式かくしきすうすえ包括ほうかつ事件じけん人物じんぶつ地点ちてんとう,它可以被其他てき软件检测到,并提取出とりでしょう应的しんいき,以及对信いき进行索引さくいん搜索そうさくまたが平台ひらだいてき参考さんこう这些しんいき以其形式けいしきじゅう使用しようある组合。

从技术上らい说,这些すうすえいち些语义标记よう标准てき(X)HTMLちゅうてきclass名称めいしょう设置。开放、可用かよう自由じゆうてき以被にん何人なんにん使用しよう

れい如一个地理坐标:52.48,-1.89,普通ふつうじん无法理解りかい这些数字すうじてき含义。现在わが们可以把它做なりほろ格式かくしきgeo),表示ひょうじ如下:

      <span class="geo"><span class="latitude">52.48</span>, <span class="longitude">-1.89</span></span>

这样つくえ就可以正确地理解りかい这些数字すうじてき含义,以对进行索引さくいん在地ざいち图上てき位置いち它导いたGPS设备,以及其他てき用途ようと

其他还有很多てきほろ格式かくしき,还有很多ただしざい开发阶段。

Firefox3[1][2]Internet Explorer8はた可能かのう支持しじほろ格式かくしき[3]

ざい维基百科ひゃっかじょう如何いか使用しようほろ格式かくしき

[编辑]

以通过模ばんざい单个页面じょう使用しようほろ格式かくしき。这也就是说一般的编辑者不需要知道如何使用这些复杂的微格式标记,ただ需要じゅよう知道ともみち如何いか使用しようばん就可以。だい部分ぶぶんてきかたぎいた需要じゅよう做一些小おさむあらため,为目まえてき内容ないよう增加ぞうかじょうほろ格式かくしきてき标记。

Firefox 浏览以通过使用しよう OperatorMobile 扩展读取并使用しよう维基百科条目上的微格式数据。

microdata

[编辑]

Mediawiki1.21/wmf5おこり支持しじ"data", "time", "meta", and "link"元素げんそ

参与さんよしゃ

[编辑]

よう户框

[编辑]

ざいよう户页じょう使用しよう{{User Pigsonthewing Microformats}}らい表示ひょうじ参与さんよ这个项目。

よこはば

[编辑]

ざいあい应条目的もくてき对话页放{{ProjectMicroformats}}。

Meta templates

[编辑]

For articles

[编辑]

For talk pages

[编辑]

板文いたぶん

[编辑]

ぶん

[编辑]

あい关项

[编辑]

にん

[编辑]

需要じゅようこころざしすなおしゃ

  • 增加ぞうかhCard标记いたあずか人物じんぶつ地点ちてんゆう关的ばん参考さんこういち些例
  • かんぜん{{coord}}けい统,添加てんかgeo标记并更新こうしんしょう关条

とうぜん可用かようほろ格式かくしき

[编辑]

Geo

[编辑]

Geo もちいらい标记地理ちりすわ标(经度纬度)。

Geo 以被索引さくいん(れい如"寻找距离X地点ちてん2公里くり范围内的ないてき所有しょゆう地点ちてん"),ざい其他网站じょう这个地点ちてんあるもの为 GPS とう设备提供ていきょう支持しじ

维基百科上所有的地点性质的条目都应该使用。

ざい维基百科ひゃっかじょう,{{coord}} はた Geo 格式かくしき应用いたすわ标上。 它被设计ようらいがえ换 coor ばん家族かぞく,简化すうすえ条目じょうもく

参考さんこう

维基百科ひゃっかじょうてき Geo 举例

[编辑]

参考さんこう Category:經緯けいいばん

举例:

つぶせてん

[编辑]

There are three active proposals, none mutually-exclusive, and all backwards-compatible, to extend the geo microformat:

hCard

[编辑]

en:hCard提供ていきょう人物じんぶつ (人物じんぶつ条目じょうもくよう户属せい), 组织地点ちてんてき详细しんいき

See Wikipedia:WikiProject Microformats/hcard for more.

hCalendar

[编辑]

en:hCalendar则是提供ていきょう事件じけんてきしんいき直接ちょくせつ这些しんいき添加てんかいた历、日程にっていひょうある网站じょう

维基百科上的历史上的今天栏目,しん闻动态栏应该かいようてきじょう(电视剧或电视节目?)


hAtom

[编辑]

hAtom is for making feeds.

hReview

[编辑]

hReview is for marking up reviews, and could be used by, for example, Template:Infobox Album.

Other

[编辑]

Pseudo-microformats

[编辑]

Though not formally microformats (because they have not been developed using the "microformats process", and/ or involve hidden metadata), the following are related:

Under development

[编辑]

Species

[编辑]

The draft species microformat has been applied to the {{Taxobox}} template (with 37,140 examples as at the time of posting).

It is recognised by the Operator extension for Firefox (using an add-in user script, itself in development).

Wikipedia editors are invited to comment on or contribute to the development of this microformat, via Template talk:Taxobox#'Species' microformat, or the "microformats-new" mailing list.

"Species" will allow the disambiguation of common names, and the lookup of species in databases, recording software, etc. - and the look up from such sites or software, on Wikipedia.

Forthcoming

[编辑]

Citations

[编辑]

The proposed citation microformat will obviously be very relevant to Wikipedia, both for on-page citations and bibliographies, and for allowing people to cite Wikipedia, elsewhere. See Template talk:Cite book#Use in Bibliography and User:Omegatron#COinS for work which is laying some of the groundwork for application of that microformat, once it is ready.

Citation microformats would allow the look-up of cited articles or books in libraries or shops, and the extraction of citation data for the page being voted, if it is to be cited elsewhere.

Currency

[编辑]

The proposed currency microformat may be useful, especially if the suggestion to include a date field for historical amounts is included., for example, on 1922 in Germany

  • "Despite the ending of cash payments for the rest of 1922, the main cause of Germany's inability to pay, the steady depreciation of the mark, was ongoing. Towards the end of the year it assumed a disastrous rapidity. On August 1, the US Dollar still stood at 643 Marks to the Dollar and the British Pound at 2,850 Marks to the Pound. But on September 5 the dollar had already risen to 1,440 Marks and the pound to 6,525 Marks, and in December the pound was worth between 30,000 and 40,000 marks and the dollar between 7,000 and 9,000."

Currency would allow automatic conversion of amounts into other currencies ("how much is that in dollars?") or time ("how much would that be today?")

Other MediaWiki uses

[编辑]

Wikivoyage

[编辑]

Wikivoyage is using microformats, not least in Wikivoyage listings

问题

[编辑]
  • We need to be able to add classes to internal and external links, to generate, for example:
<a href="example.com" class="xxx">

or:

<a href="example.com" rel="yyy">

or a combination of both, where "xxx" is a valid microformat attribute such as "url" and "yyy" is a valid rel attribute such as "directory", "tag" or "colleague" (the latter from XFN).


参考さんこう文献ぶんけん

[编辑]
  1. ^ Resig, John. Microformats in Firefox 3. 2007-02-01 [2007-03-25]. 
  2. ^ Kaply, Mike. Microformats and Firefox 3 (for Developers). 2007-05-09 [2007-05-23]. 
  3. ^ Bounds, Darren. Microsoft drops hints about Internet Explorer 8. 2007-05-02 [2007-05-02]. 

维基百科ひゃっかせんだいれつひょう

 

維基百科专题委员会

 

維基百科專題指引