維基見習編輯

Wavingdragon的沙盒


Useful markups

编辑

Markups

编辑
<poem></poem>

Color names

编辑
White Silver Red Yellow Lime Aqua Blue Fuchsia
#FFFFFF #C0C0C0 #FF0000 #FFFF00 #00FF00 #00FFFF #0000FF #FF00FF
Black Gray Maroon Olive Green Teal Navy Purple
#000000 #808080 #800000 #808000 #008000 #008080 #000080 #800080
编辑
* {{Facebook|abc|Name}}
* {{Twitter}}
* {{IMDb name|#|N}}
* {{Amg name|#|N}}     (AllMovie)
* {{Rotten Tomatoes person|n_s|N S}}
* {{Rotten Tomatoes|id|Title}}

Useful templates

编辑
{{noteTA
|1 = zh:里; zh-hant:里
|2 = zh:于; zh-hant:于
|3 = zh:云; zh-hant:云
}}

Useful articles

编辑

Internal link markup:

[[pagename]]			
[[pagename|...]]		
[[:namespace:pagename|...]]	e.g.	[[:Category:MPEG|...]]
					[[:Help:Table|...]]
					[[:Template:Infobox|...]]

Interwiki link:

To (the English) Wikipedia:

[[w:]]		e.g.	[[w:Ankh]]  =  to "Ankh" (@ "en")

From one Wikipedia to another Wikipedia of a specific language:

[[:en:]]	e.g.	[[:en:Ankh]]  =  (from "zh") to "Ankh" @ "en"

From a Wikimedia project to a Wikipedia of a specific language:

[[:en:w:]]	e.g.	[[:en:w:Ankh]]  =  (from a Wikimedia project) to "Ankh" @ "en"

Interwiki link (wikia to another wikia):

[[w:c:domain:pagename|...]]			e.g.	[[w:c:breakingbad:Walter White|...]]	  =  "Walter White" @ "Breaking Bad Wiki"
[[w:c:domain:namespace:pagename|...]]		e.g.	[[w:c:breakingbad:Template:Infobox|...]]  =  "Template:Infobox" @ "Breaking Bad Wiki"

External link markup:

[url ...]

Columns

编辑
{{Col-begin|width=em}}
{{Col-2}}
{{Col-2}}
{{Col-end}}

{{Div col |cols=}}
{{Div col |colwidth=em}}
{{Div col end}}

{{Multicol}}
{{Multicol-break}}
{{Multicol-end}}

Useful table markups

编辑
{| id="_____"                                    Anchor name.
{| class="wikitable sortable"
{| border="#" cellpadding="#" cellspacing="#"    Incompatible with a sortable table.
{| style="float:left/right;                      For the table's alignment, no "center".
          width:#px/#em/auto; 
          font-size:#%; 
          table-layout:auto/fixed; 
          text-align:left/center/right" 

|- id="_____"
|- class="sortbottom"
|- style="height:#px; 
          font-size:#%" 

| id="_____"
| class="unsortable" | ...
| style="background: _____; color: _____;" | ...
| style="background: #RRGGBB; / rgb(#, #, #); color: rgb(#, #, #);" | ...      "color" cannot be entered as "#RRGGBB"
| style="text-align: left/center/right;" | ...
| style="width:#px/#em/auto" | ...
| width=#px | ...

Example

编辑
id="sorttest"
class="wikitable sortable"
style="font-size:85%;
text-align:center;
width:auto;
table-layout:fixed"
C2-4 C5 C6 A vertically
merged cell
may or may not
be sortable.
C8-9
The row of sorting headers
may be affected by a
vertically merged cell
and not always on top.
C2 Even a
horizontally
merged cell
is sortable.
C5 class="unsortable" C8 C9
R3 A cell inherits the
1st cell's properties
coded in the same line.
i y n y n n y
R4 n y i i style="background: #C08060; color: blue;" y i n
R5 y y n n style="background: #8060A0; color: rgb(128, 192, 128);" i y i
class="sortbottom" C2 C3 C4 C5 C6 C7 C8 C9

References

编辑

Citation

编辑
<ref>{{cite book |author= |title= |url= |location= |publisher= |date= |accessdate= |isbn= |language= }}</ref>
<ref>{{cite news |author= |title= |url= |newspaper= |others= |publisher= |date= |accessdate= |language= }}</ref>
<ref>{{cite news |first= |last= |title= |url= |newspaper= |others= |publisher= |date= |accessdate= |language= }}</ref>
<ref>{{cite web |author= |title= |url= |publisher= |date= |accessdate= |language= }}</ref>

Reflist, Notelist, Efn

编辑
==References==
{{Reflist}} / {{Reflist|2}}		"2" splits the references into 2 columns
==Notes==
{{notelist}} / {{notelist|2}}		"2" splits the notes into 2 columns
{{efn|name="..."| ... }}		{{efn}} is used together with {{notelist}}
{{efn|name="..."}}			For repeating use

來源請求

编辑

來源請求的內容[來源請求]

{{subst:fact/auto|來源請求}}
{{fact|來源請求的內容|time=####-##-##}}

沒有參考或來源

编辑
{{subst:Unreferenced/auto}}
{{Unreferenced |time={{subst:#time:c}} }}
{{Unreferenced |time=####-##-##T##:##:##+##:##}}

移動

编辑