https://wiki.contextgarden.net/index.php?title=Help:Formatting&feed=atom&action=history
Help:Formatting - Revision history
2024-03-29T06:42:36Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://wiki.contextgarden.net/index.php?title=Help:Formatting&diff=20722&oldid=prev
Esteis: {{About this wiki navbox}}
2012-09-19T20:49:08Z
<p>{{About this wiki navbox}}</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 20:49, 19 September 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l222" >Line 222:</td>
<td colspan="2" class="diff-lineno">Line 222:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">== Other formatting ==</del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">{{About this wiki navbox}}</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">Beyond the text formatting markup shown above, here are some other formatting references:</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">*[[Help:Links|Links]]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* [[Help:Images|Images]]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* [[Help:Tables|Tables]]</del></div></td><td colspan="2"> </td></tr>
<!-- diff cache key wikidb16_33:diff::1.12:old-10941:rev-20722 -->
</table>
Esteis
https://wiki.contextgarden.net/index.php?title=Help:Formatting&diff=10941&oldid=prev
Patrick Gundlach: removed admin tip
2010-04-11T13:55:33Z
<p>removed admin tip</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:55, 11 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l221" >Line 221:</td>
<td colspan="2" class="diff-lineno">Line 221:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> this way for instance, all '''ignored''' markups take into account the navigator size, by automatically adding some carriage returns dynamically to it.</pre></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> this way for instance, all '''ignored''' markups take into account the navigator size, by automatically adding some carriage returns dynamically to it.</pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">{{Admin tip|tip=If you trust your users you can allow full HTML by setting <code>{{mediawiki|Manual:$wgRawHtml|$wgRawHtml}} = true;</code> in {{mediawiki|Manual:LocalSettings.php|LocalSettings.php}}.}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Other formatting ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Other formatting ==</div></td></tr>
<!-- diff cache key wikidb16_33:diff::1.12:old-10940:rev-10941 -->
</table>
Patrick Gundlach
https://wiki.contextgarden.net/index.php?title=Help:Formatting&diff=10940&oldid=prev
Patrick Gundlach: Help Formatting
2010-04-11T13:55:03Z
<p>Help Formatting</p>
<p><b>New page</b></p><div>You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <code><nowiki>''this''</nowiki></code>.<br />
<br />
== Text formatting markup ==<br />
<br />
{| class="wikitable"<br />
! Description !! You type !! You get<br />
|-<br />
! colspan="3" style="background:#ABE" | character (inline) formatting – ''applies anywhere''<br />
|-<br />
|Italic text<br />
| <code><nowiki>''italic''</nowiki></code><br />
|''italic''<br />
|-<br />
| Bold text<br />
| <code><nowiki>'''bold'''</nowiki></code><br />
|'''bold'''<br />
|-<br />
| Bold and italic<br />
| <code><nowiki>'''''bold & italic'''''</nowiki></code><br />
|'''''bold & italic'''''<br />
|-<br />
|Escape wiki markup<br />
| <code><nowiki><nowiki>no ''markup''&lt;/nowiki></nowiki></code><br />
|<nowiki>no ''markup''</nowiki><br />
|-<br />
! colspan="3" style="background:#ABE" | section formatting – ''only at the beginning of the line''<br />
|-<br />
|Headings of different levels <br />
| <pre>=level 1=<br />
==level 2==<br />
===level 3===<br />
====level 4====<br />
=====level 5=====<br />
======level 6======</pre><br />
An article with 4 or more headings automatically creates a [[wikipedia:Wikipedia:Section#Table of contents (TOC)|table of contents]].<br />
<br />
|<!-- hack to prevent TOC viewing for h1 - h6 elements: their style is hardcopied here --><br />
<div style="font-size: 188%; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa">Level 1</div><br />
<div style="font-size: 150%; margin: 0; padding-top: .5em; padding-bottom: .17em; border-bottom: 1px solid #aaa">Level 2</div><br />
<div style="font-size: 132%; font-weight: bold">Level 3</div><!--<br />
--><b>Level 4</b><!--<br />
--><div style="font-size: 86%; font-weight: bold">Level 5</div><!--<br />
--><b style="font-size: 80%">Level 6</b><br />
|-<br />
|Horizontal rule<br />
| <code>----</code><br />
|<br />
----<br />
|-<br />
|Bullet list<br />
|<br />
<pre><br />
* one<br />
* two<br />
* three<br />
** three point one<br />
** three point two<br />
</pre><br />
Inserting a blank line will end the first list and start another.<br />
|<br />
* one<br />
* two<br />
* three<br />
** three point one<br />
** three point two<br />
|-<br />
|Numbered list<br />
|<br />
<pre><br />
# one<br />
# two<br />spanning more lines<br />doesn't break numbering<br />
# three<br />
## three point one<br />
## three point two<br />
</pre><br />
|<br />
# one<br />
# two<br />spanning more lines<br />doesn't break numbering<br />
# three<br />
## three point one<br />
## three point two<br />
|-<br />
|Definition list<br />
|<pre><br />
;item 1<br />
: definition 1<br />
;item 2<br />
: definition 2-1<br />
: definition 2-2<br />
</pre><br />
|<br />
;item 1<br />
: definition 1<br />
;item 2<br />
: definition 2-1<br />
: definition 2-2<br />
|-<br />
| Adopting definition list to indent text<br />
|<br />
<pre>: Single indent<br />
:: Double indent<br />
::::: Multiple indent</pre><br />
This workaround may be controversial from the viewpoint of accessibility.<br />
|<br />
: Single indent<br />
:: Double indent<br />
::::: Multiple indent<br />
|-<br />
| Mixture of different types of list<br />
|<br />
<pre><br />
# one<br />
# two<br />
#* two point one<br />
#* two point two<br />
# three<br />
#; three item one<br />
#: three def one<br />
# four<br />
#: four def one<br />
#: this rather looks like the continuation of # four<br />
#: and thus often used instead of <br /><br />
# five<br />
## five sub 1<br />
### five sub 1 sub 1<br />
## five sub 2<br />
<br />
;item 1<br />
:* definition 1-1<br />
:* definition 1-2<br />
:<br />
;item 2<br />
:# definition 2-1<br />
:# definition 2-2<br />
</pre><br />
The usage of <code>#:</code> and <code>*:</code> for breaking a line within an item may also be controversial.<br />
|<br />
# one<br />
# two<br />
#* two point one<br />
#* two point two<br />
# three<br />
#; three item one<br />
#: three def one<br />
# four<br />
#: four def one<br />
#: this rather looks like the continuation of <code># four</code><br />
#: often used instead of <code>&lt;br /></code><br />
# five<br />
## five sub 1<br />
### five sub 1 sub 1<br />
## five sub 2<br />
;item 1<br />
:* definition 1-1<br />
:* definition 1-2<br />
:<br />
;item 2<br />
:# definition 2-1<br />
:# definition 2-2<br />
|-<br />
|-<br />
|Preformatted text<br />
|<br />
<pre><br />
preformatted text is done with<br />
a '''space''' at the <br />
''beginning'' of the line<br />
</pre><br />
This way of preformatting only applies to section formatting, and character formatting markups are still effective.<br />
|<br />
preformatted text is done with<br />
a '''space''' at the <br />
''beginning'' of the line<br />
|}<br />
<br />
== Paragraphs ==<br />
MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tags <code>&lt;br /></code>.<br />
<br />
== HTML ==<br />
Some [[wikipedia:HTML|HTML]] tags are allowed in MediaWiki, for example <code>&lt;code></code>, <code>&lt;div></code>, <code><nowiki><span></nowiki></code> and <code><nowiki><font></nowiki></code>. These apply anywhere you insert them.<br />
<br />
{| class="wikitable"<br />
!Description<br />
!You type<br />
!You get<br />
|-<br />
| Strikethrough<br />
| <code>&lt;del>Strikethrough&lt;/del></code> or <code>&lt;s>Strikethrough&lt;/s></code><br />
|<del>Strikethrough</del><br />
|- style="white-space:nowrap"<br />
|Fixed width text<br />
| <code>&lt;tt>Fixed width text&lt;/tt></code> or <code>&lt;code>source code&lt;/code></code><br />
| <tt>Fixed width text</tt> or <code>source code</code><br />
|-<br />
|Blockquotes<br />
| <code><br />
text text text text text text text text text text text text<br />
text text text text text text text text text text text text<br />
&lt;blockquote> quote quote quote quote quote quote &lt;/blockquote><br />
text text text text text text text text text text text text<br />
</code><br />
| text text text text text text text text text text text text text text text text text text text text text text text text <blockquote> quote quote quote quote quote quote </blockquote> text text text text text text text text text text text text<br />
|-<br />
|Comment<br />
| <code>&lt;!-- This is a comment --></code><br />
Text can only be viewed in the edit window.<br />
|<br />
<!-- This is a real invisible comment --><br />
|-<br />
|Completely preformatted text<br />
|<br />
<code><nowiki><pre>this way, all markups are '''ignored'''</pre></nowiki></code><br />
|<br />
<pre> this way, all markups are '''ignored'''.</pre><br />
|-<br />
|'''Customized''' preformatted text<br />
|<br />
<code><nowiki><pre style="CSS text">this way, all markups are '''ignored''' and formatted with a CSS text</pre></nowiki></code><br />
|<br />
<pre style="white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;overflow:auto;"><br />
this way for instance, all '''ignored''' markups take into account the navigator size, by automatically adding some carriage returns dynamically to it.</pre><br />
|}<br />
<br />
{{Admin tip|tip=If you trust your users you can allow full HTML by setting <code>{{mediawiki|Manual:$wgRawHtml|$wgRawHtml}} = true;</code> in {{mediawiki|Manual:LocalSettings.php|LocalSettings.php}}.}}<br />
<br />
== Other formatting ==<br />
Beyond the text formatting markup shown above, here are some other formatting references:<br />
<br />
*[[Help:Links|Links]]<br />
* [[Help:Images|Images]]<br />
* [[Help:Tables|Tables]]</div>
Patrick Gundlach