Help:Editing: Difference between revisions

ArrowHead294 (talk | contribs)
ArrowHead294 (talk | contribs)
mNo edit summary
Line 23: Line 23:


=== Redirects ===
=== Redirects ===
Redirects can be [[#Regular redirect|regular]] or [[#Smart redirect|“smart”]] (definition 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:smart redirect]]</nowiki></code> at its end.
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:smart redirect]] for a list of pages tagged as smart redirect.
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 <nowiki>'''bold'''</nowiki>
* '''Bold''' using {{'''}}bold{{'''}}
* ''Italic'' using <nowiki>''italic''</nowiki>
* ''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;">
<nowiki>
{| class="wikitable"
{| class="wikitable"
|+ Caption
|+ Caption
Line 116: Line 115:
| Cell B3
| Cell B3
| Cell C3
| Cell C3
|}</nowiki>
|-
|  
| Cell A4
<nowiki>
| 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
|}</nowiki>
|-
|-
! You get <br /> (rendered)
| Cell A4 || Cell B4 || Cell C4
|}</pre>
|-
! You get<br />(rendered)
<!-- Begin result -->
<!-- Begin result -->
| colspan="2" style="margin: 20px auto 20px auto;" |
| 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]] here a term needs to be defined
* [[:Category:Todo:add definition]] &ndash; here a term needs to be defined
* [[:Category:Todo]] category of categories that flag articles
* [[:Category:Todo]] &ndash; 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]] &mdash; Especially helpful for new users, that's why it's enabled by default
* [[Help:Visual editor]] &ndash; Especially helpful for new users, that's why it's enabled by default


[[Category:Help]]
[[Category:Help]]