Help:Editing: Difference between revisions
ArrowHead294 (talk | contribs) m →Tables |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 23: | Line 23: | ||
=== Redirects === | === Redirects === | ||
Redirects can be [[#Regular redirect|regular]] or [[#Smart redirect| | Redirects can be [[#Regular redirect|regular]] or [[#Smart redirect|"smart"]] (definition redirect). | ||
==== Regular redirect ==== | ==== Regular redirect ==== | ||
| Line 35: | Line 35: | ||
==== Smart redirect ==== | ==== Smart redirect ==== | ||
A "smart redirect" is a page that has a small definition of a term with a link to a broader presentation of the corresponding area. Don't forget to categorize such a page by placing <code><nowiki>[[Category: | A "smart redirect" is a page that has a small definition of a term with a link to a broader presentation of the corresponding area. Don't forget to categorize such a page by placing <code><nowiki>[[Category:Smart redirect]]</nowiki></code> at its end. | ||
A smart redirect should not point to another smart redirect. | A smart redirect should not point to another smart redirect. | ||
See [[:Category: | See [[:Category:Smart redirect]] for a list of pages tagged as smart redirect. | ||
==== Soft redirect ==== | ==== Soft redirect ==== | ||
| Line 48: | Line 48: | ||
Some typographic markup can easy be added by including the phrase in doubled <code><nowiki>''</nowiki></code> or tripled <code><nowiki>'''</nowiki></code> (apostrophe chars): | Some typographic markup can easy be added by including the phrase in doubled <code><nowiki>''</nowiki></code> or tripled <code><nowiki>'''</nowiki></code> (apostrophe chars): | ||
* '''Bold''' using | * '''Bold''' using {{'''}}bold{{'''}} | ||
* ''Italic'' using | * ''Italic'' using {{''}}italic{{''}} | ||
* '''''Bold italic''''' using <nowiki>'''''bold italic'''''</nowiki> | * '''''Bold italic''''' using <nowiki>'''''bold italic'''''</nowiki> | ||
| Line 96: | Line 96: | ||
{| class="wikitable" | {| class="wikitable" | ||
! You write<br />in [[Help:Wikitext editor|wikitext]] | ! You write<br />in [[Help:Wikitext editor|wikitext]] | ||
| | | <pre style="border: none;"> | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Caption | |+ Caption | ||
| Line 116: | Line 115: | ||
| Cell B3 | | Cell B3 | ||
| Cell C3 | | Cell C3 | ||
|}</ | |- | ||
| | | Cell A4 | ||
| Cell B4 | |||
| Cell C4 | |||
|}</pre> | |||
| <pre style="border: none;"> | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ Caption | |+ Caption | ||
| Line 129: | Line 131: | ||
|- | |- | ||
| Cell A3 || Cell B3 || Cell C3 | | Cell A3 || Cell B3 || Cell C3 | ||
|- | |- | ||
! You get <br /> (rendered) | | Cell A4 || Cell B4 || Cell C4 | ||
|}</pre> | |||
|- | |||
! You get<br />(rendered) | |||
<!-- Begin result --> | <!-- Begin result --> | ||
| colspan="2 | | colspan="2" | | ||
{{(!}} class{{=}}"wikitable" | {{(!}} class{{=}}"wikitable" style{{=}}"margin: 20px auto 20px auto;" | ||
{{!+}} Caption | {{!+}} Caption | ||
{{!-}} | {{!-}} | ||
| Line 144: | Line 148: | ||
{{!-}} | {{!-}} | ||
{{!}} Cell A3 {{!!}} Cell B3 {{!!}} Cell C3 | {{!}} Cell A3 {{!!}} Cell B3 {{!!}} Cell C3 | ||
{{!-}} | |||
{{!}} Cell A4 {{!!}} Cell B4 {{!!}} Cell C4 | |||
{{!)}} | {{!)}} | ||
<!-- End result --> | <!-- End result --> | ||
| Line 153: | Line 159: | ||
Text alignment can be an issue. The table default is cell text being left-alignened, but decimal numbers usually are right-aligned and common fractions center-aligned. | Text alignment can be an issue. The table default is cell text being left-alignened, but decimal numbers usually are right-aligned and common fractions center-aligned. | ||
You may add inline [[CSS]] styling to '''each cell''' of the table (i.e. <code>style="text-align: right"</code>), but this is a lot of work, makes the wiki markup confusing, and also makes pages really big which slows down loading. | You may add inline [[CSS]] styling to '''each cell''' of the table (i.e. <code>style="text-align: right;"</code>), but this is a lot of work, makes the wiki markup confusing, and also makes pages really big which slows down loading. | ||
It's now (by June 2020) possible to define the column alignment '''once in the table header'''. This can be done by adding further classes to the <code>class="wikitable"</code> statement. | It's now (by June 2020) possible to define the column alignment '''once in the table header'''. This can be done by adding further classes to the <code>class="wikitable"</code> statement. | ||
| Line 203: | Line 209: | ||
Some more examples: | Some more examples: | ||
* [[:Category:Todo:add definition]] | * [[:Category:Todo:add definition]] – here a term needs to be defined | ||
* [[:Category:Todo]] | * [[:Category:Todo]] – category of categories that flag articles | ||
== Social aspects == | == Social aspects == | ||
| Line 222: | Line 228: | ||
* [[Xenharmonic Wiki:Article guidelines]] | * [[Xenharmonic Wiki:Article guidelines]] | ||
* [[Help:Help]] | * [[Help:Help]] | ||
* [[Help:Visual editor]] & | * [[Help:Visual editor]] – Especially helpful for new users, that's why it's enabled by default | ||
[[Category:Help]] | [[Category:Help]] | ||