Content deleted Content added
→Limiting formatting and escaping wikitext: restore anchors to previous section titles, deleted in error. See Help:Link#Specifics |
anchors should be at the start of the relevant content, not dropped randomly nearby; upright has never been described in this page, afaict, so link to somewhere that it's properly described |
||
Line 230:
}}
====<span class="anchor" id="DL"></span><span class="anchor" id="Definition lists"></span><span class="anchor" id="Association lists"></span><span class="anchor" id="H:DL"></span>Description lists====
{{Shortcut|H:DL}}
Line 1,247 ⟶ 1,246:
* Embedding the image in the text is only possible for very small images.
* Embedding the image will affect the vertical formatting of text.
|- style="vertical-align: top;" id="alt tag"
| <syntaxhighlight lang="wikitext">With alternative text:
[[File:wiki.png|alt=Puzzle globe logo]]</syntaxhighlight>
Line 1,255 ⟶ 1,254:
|
*
|- style="vertical-align:top;"
Line 1,277 ⟶ 1,276:
* The frame tag automatically floats the image right.
* The frame tag is only of use with very small images or ones using the [[#px tag|px tag]]
* The attributes left, center or centre override this, and places the image to the left or the centre of the page.
* The last parameter is the caption that appears below the image.
Line 1,304 ⟶ 1,303:
* The [[WP:PIC|picture tutorial]] explains more options.
|- style="vertical-align:top;" id="px tag"
| <syntaxhighlight lang="wikitext">A picture resized to 50 pixels...
[[File:wiki.png|50 px|Wikipedia encyclopedia]]</syntaxhighlight>
Line 1,312 ⟶ 1,311:
|
*
* Sizing in pixels is deprecated and should be used very sparingly.
* There is an [[
|- style="vertical-align:top;"
Line 1,460 ⟶ 1,459:
If a page is transcluded without transclusion markup, it may cause an unintentional [[Help:Category#Putting_pages_in_categories|categorization]]. Any page transcluding it will contain the same category as the original page. Wrap the category markup with '''<nowiki><noinclude></nowiki>''' tags to prevent incorrect categorization.
Some templates take ''parameters'', as well, which you separate with the pipe character <code>|</code>.
Line 1,476 ⟶ 1,475:
|
{{Help:Transclusion demo}}
|- id=hovertext
|
<syntaxhighlight lang="wikitext">
Line 1,712 ⟶ 1,711:
|}
{{see also|Template:Escape template list}}
Line 1,814 ⟶ 1,812:
|}
===<span class="anchor" id="NOWIKI"></span>Nowiki===
{{redirect|WP:NOWIKI|the essay about the name "Wiki"|Wikipedia:Don't abbreviate "Wikipedia" as "Wiki"!|the Wikipedia language edition|Norwegian Wikipedia}}
{{shortcut|H:NOWIKI|WP:NOWIKI}}
|