“常用代码”的版本间的差异

维基地图
维基地图
第72行: 第72行:
 
</mapframe></nowiki>
 
</mapframe></nowiki>
  
<nowiki><mapframe align="center" text="天安门" width=350 height=350 zoom=13 longitude=116.397482 latitude=39.908634 lang="zh"> {</nowiki>
+
<nowiki><mapframe align="center" text="天安门" width=350 height=350 zoom=13 longitude=116.397482 latitude=39.908634 lang="zh"> {</nowiki><br>
<nowiki>"type": "Feature",</nowiki>
+
<nowiki>"type": "Feature",</nowiki><br>
<nowiki>"geometry": { "type": "Point", "coordinates": [116.39126,39.90726] },</nowiki>
+
<nowiki>"geometry": { "type": "Point", "coordinates": [116.39126,39.90726] },</nowiki><br>
<nowiki>"properties": {</nowiki>
+
<nowiki>"properties": {</nowiki><br>
<nowiki>"title": "[[wikipedia:Exploratorium|测试文字]]",</nowiki>
+
<nowiki>"title": "[[wikipedia:Exploratorium|测试文字]]",</nowiki><br>
<nowiki>"description": "[[File:Giant_Mirror_at_the_Exploratorium.jpeg|200px]]",</nowiki>
+
<nowiki>"description": "[[File:Giant_Mirror_at_the_Exploratorium.jpeg|200px]]",</nowiki><br>
<nowiki>"marker-symbol": "building",</nowiki>
+
<nowiki>"marker-symbol": "building",</nowiki><br>
<nowiki>"marker-size": "large",</nowiki>
+
<nowiki>"marker-size": "large",</nowiki><br>
<nowiki>"marker-color": "0050d0"  }</nowiki>
+
<nowiki>"marker-color": "0050d0"  }</nowiki><br>
 
<nowiki>} </mapframe></nowiki>
 
<nowiki>} </mapframe></nowiki>
  

2019年1月3日 (四) 17:13的版本

表格居中,表格宽度80%


{| class="wikitable" style="margin: auto;width: 80%;"


单元格宽度10%


| style="width: 10%"|


单元格内居中


| style="margin: auto;"


The YouTube extension allows also to embed videos from these services:


Google Video — use the <gvideo> tag

Archive.org audio — use the <aoaudio> tag

Archive.org video — use the <aovideo> tag

WeGame — use the <wegame> tag

Tangler forum — use the <tangler> tag

Gametrailers — use the <gtrailer> tag

Nicovideo — use the <nicovideo> tag

GoGreenTube — use the <ggtube> tag

维基扩展

https://www.mediawiki.org/wiki/Manual:Extensions/zh

维基地图
天安门


<mapframe align="center" text="天安门" width=350 height=350 zoom=13 longitude=116.397482 latitude=39.908634 lang="zh"> { "type": "Feature", "geometry": { "type": "Point", "coordinates": [116.39126,39.90726] }, "properties": { "title": "[[wikipedia:Exploratorium|测试文字]]", "description": "[[File:Giant_Mirror_at_the_Exploratorium.jpeg|200px]]", "marker-symbol": "building", "marker-size": "large", "marker-color": "0050d0" } } </mapframe>

<mapframe align="center" text="天安门" width=350 height=350 zoom=13 longitude=116.397482 latitude=39.908634 lang="zh"> {
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [116.39126,39.90726] },
"properties": {
"title": "[[wikipedia:Exploratorium|测试文字]]",
"description": "[[File:Giant_Mirror_at_the_Exploratorium.jpeg|200px]]",
"marker-symbol": "building",
"marker-size": "large",
"marker-color": "0050d0" }
} </mapframe>

天安门


<maplink align="center" text="天安门" width=350 height=350 zoom=13 longitude=116.397482 latitude=39.908634 lang="zh" />