Template:Quote/doc

出典: 閾ペディアことのは

(版間での差分)
(新しいページ: ''''Template:Quote''' adds a block quote to an article page. This is easier to type and more wiki-like than the equivalent HTML <code><nowiki><blockquote></nowiki></cod...')
 
20 行 20 行
{{Quote|Phrase|Somebody|''Source''}}
{{Quote|Phrase|Somebody|''Source''}}
-
 
-
=== Example ===
 
-
 
-
<!-- for the documentation don't subst the result -->
 
-
{| class="wikitable"
 
-
| '''Code'''
 
-
| '''Result'''
 
-
|-
 
-
| valign="top" | <code>{&#123;{{BASEPAGENAME}}&#124;<nowiki>{{lorem ipsum}}</nowiki>|Some Guy Who Thought He Spoke Latin|'&#39;Pseudo-Italic Nonsense&#39;'&#125;}</code>
 
-
| {{msg:{{BASEPAGENAME}}|{{lorem ipsum}}|Some Guy Who Thought He Spoke Latin|''Pseudo-Italic Nonsense''}}
 
-
|}
 
=== Issues ===
=== Issues ===
45 行 34 行
{{Quote|1=Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}}
{{Quote|1=Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}}
-
 
-
=== See also ===
 
-
 
-
{{Quotation templates see also}}
 

2009年8月20日 (木) 03:48 時点における最新版

Template:Quote adds a block quote to an article page.

This is easier to type and more wiki-like than the equivalent HTML <blockquote> tags, has additional pre-formatted attribution and source parameters, and contains a workaround for Bugzilla:6200, which means you don't need to type <p> tags manually.

Note: Block quotes do not normally contain quotation marks. See Formatting block quotations.

Note: This template does work correctly if the phrase contains characters found in some URLs.

Usage

{{Quote|Phrase}} produces:

Phrase

{{Quote|Phrase|Somebody}} produces:

Phrase

Somebody

{{Quote|Phrase|Somebody|''Source''}} produces:

Phrase

Somebody, Source

Issues

Phrases containing some URLs are not displayed at all:

{{Quote|Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}} produces:

Somebody

Source

{{Quote|1=Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}} produces:

Somebody

Source

個人用ツール
ツールボックス
このウィキのはてなブックマーク数 この記事をはてなブックマークに追加