Difference between revisions of "SDNU ICPC Wiki:Help Page"

From SDNU ICPC Wiki
Jump to navigation Jump to search
Line 4: Line 4:


{| class="wikitable"
{| class="wikitable"
! <translate><!--T:3--> Description</translate>
! <!--T:3--> Description
! width=40% | <translate><!--T:4--> You type</translate>
! width=40% | <!--T:4--> You type
! width=40% | <translate><!--T:5--> You get</translate>
! width=40% | <!--T:5--> You get
|-
|-
! colspan="3" style="background: #ABE" | <translate><!--T:6--> Character (inline) formatting – ''applies anywhere''</translate>
! colspan="3" style="background: #ABE" | <!--T:6--> Character (inline) formatting – ''applies anywhere''
|-
|-
| <translate><!--T:7--> Italic text</translate>
| <!--T:7--> Italic text
| <pre>
| <pre>
''<translate nowrap><!--T:8--> italic</translate>''
''<!--T:8--> italic''
</pre>
</pre>
|
|
''<translate><!--T:9--> italic</translate>''
''<!--T:9--> italic''
|-
|-
| <translate><!--T:10--> Bold text</translate>
| <!--T:10--> Bold text
| <pre>
| <pre>
'''<translate nowrap><!--T:11--> bold</translate>'''
'''<!--T:11--> bold'''
</pre>
</pre>
|
|
'''<translate><!--T:12--> bold</translate>'''
'''<!--T:12--> bold'''
|-
|-
| <translate><!--T:13--> Bold and italic</translate>
| <!--T:13--> Bold and italic
| <pre>
| <pre>
'''''<translate nowrap><!--T:14--> bold & italic</translate>'''''
'''''<!--T:14--> bold & italic'''''
</pre>
</pre>
|
|
'''''<translate><!--T:15--> bold & italic</translate>'''''
'''''<!--T:15--> bold & italic'''''
|- style="visibility: collapse;"
|- style="visibility: collapse;"
| colspan="3" |  
| colspan="3" |  
|-
|-
| <translate><!--T:19--> Escape wiki markup</translate>
| <!--T:19--> Escape wiki markup
|
|
<translate><!--T:155--> <nowiki>no [[wiki]] ''markup''</nowiki></translate>
<!--T:155--> <nowiki>no [[wiki]] ''markup''</nowiki>
|-
|-
! colspan="3" style="background: #ABE" | <translate><!--T:24--> Section formatting – ''only at the beginning of the line''</translate>
! colspan="3" style="background: #ABE" | <!--T:24--> Section formatting – ''only at the beginning of the line''
|-
|-
| <translate><!--T:25--> Section Headings of different levels</translate>
| <!--T:25--> Section Headings of different levels  
| <pre>
| <pre>
<translate>
 
== Level 2 == <!--T:26-->
== Level 2 == <!--T:26-->


Line 51: Line 51:


====== Level 6 ====== <!--T:30-->
====== Level 6 ====== <!--T:30-->
</translate>
 
</pre>
</pre>
----
----
|
|
<!-- using HTML markup to avoid creating new sections -->
<!-- using HTML markup to avoid creating new sections -->
<translate>
 
<!--T:35-->
<!--T:35-->
<h2>Level 2</h2>
<h2>Level 2</h2>
Line 71: Line 71:
<!--T:39-->
<!--T:39-->
<h6>Level 6</h6>
<h6>Level 6</h6>
</translate>
 
|-
|-
| <translate><!--T:40--> Horizontal rule</translate>
| <!--T:40--> Horizontal rule
| <pre>
| <pre>
<translate nowrap><!--T:41--> Text before</translate>
<!--T:41--> Text before
----
----
<translate nowrap><!--T:42--> Text after</translate>
<!--T:42--> Text after
</pre>
</pre>
|
|
<translate><!--T:43--> Text before</translate>
<!--T:43--> Text before
----
----
<translate><!--T:44--> Text after</translate>
<!--T:44--> Text after
|-
|-
| <translate><!--T:45--> Bullet list</translate>
| <!--T:45--> Bullet list
|
|
<pre>
<pre>
<translate nowrap>
 
<!--T:46-->
<!--T:46-->
* Start each line
* Start each line
Line 114: Line 114:
:* sublist that doesn't create empty
:* sublist that doesn't create empty
:* spaces after definition
:* spaces after definition
</translate>
 
</pre>
</pre>
|
|
<translate>
 
<!--T:47-->
<!--T:47-->
* Start each line
* Start each line
Line 144: Line 144:
:* sublist that doesn't create empty
:* sublist that doesn't create empty
:* spaces after definition
:* spaces after definition
</translate>
 
|-
|-
| <translate><!--T:48--> Numbered list</translate>
| <!--T:48--> Numbered list
|
|
<pre>
<pre>
<translate nowrap>
 
<!--T:49-->
<!--T:49-->
# Start each line
# Start each line
Line 167: Line 167:
<!--T:183-->
<!--T:183-->
<tvar name=1>&lt;nowiki&gt;#&lt;/nowiki&gt;</tvar> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.
<tvar name=1>&lt;nowiki&gt;#&lt;/nowiki&gt;</tvar> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.
</translate>
 
</pre>
</pre>
|
|
<translate>
 
<!--T:51-->
<!--T:51-->
# Start each line
# Start each line
Line 187: Line 187:


<!--T:184-->
<!--T:184-->
<tvar name=1><nowiki>#</nowiki></tvar> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.</translate>
<tvar name=1><nowiki>#</nowiki></tvar> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.
|-
|-
| <translate><!--T:53--> Definition list</translate>
| <!--T:53--> Definition list
| <pre>
| <pre>
<translate nowrap>
 
<!--T:54-->
<!--T:54-->
;item 1
;item 1
Line 198: Line 198:
: definition 2-1
: definition 2-1
: definition 2-2
: definition 2-2
</translate>
 
</pre>
</pre>
|
|
<translate>
 
<!--T:55-->
<!--T:55-->
;item 1
;item 1
Line 208: Line 208:
: definition 2-1
: definition 2-1
: definition 2-2
: definition 2-2
</translate>
 
|-
|-
| <translate><!--T:56--> Indent text</translate>
| <!--T:56--> Indent text
| <pre>
| <pre>
<translate nowrap>
 
<!--T:57-->
<!--T:57-->
: Single indent
: Single indent
:: Double indent
:: Double indent
::::: Multiple indent
::::: Multiple indent
</translate>
 
</pre>
</pre>
----
----
|
|
<translate>
 
<!--T:59-->
<!--T:59-->
: Single indent
: Single indent
:: Double indent
:: Double indent
::::: Multiple indent
::::: Multiple indent
</translate>
 
|-
|-
| <translate><!--T:60--> Mixture of different types of list</translate>
| <!--T:60--> Mixture of different types of list
| <syntaxhighlight lang="html">
| <syntaxhighlight lang="html">
<translate nowrap>
 
<!--T:61-->
<!--T:61-->
# one
# one
Line 248: Line 248:
### five sub 1 sub 1
### five sub 1 sub 1
## five sub 2
## five sub 2
</translate>
 
</syntaxhighlight>
</syntaxhighlight>
----
----
|
|
<translate>
 
<!--T:63-->
<!--T:63-->
# one
# one
Line 270: Line 270:
### five sub 1 sub 1
### five sub 1 sub 1
## five sub 2
## five sub 2
</translate>
 
|-
|-
| <translate><!--T:64--> Preformatted text</translate>
| <!--T:64--> Preformatted text
| <pre>
| <pre>
  <translate nowrap><!--T:65--> Start each line with a space.</translate>
  <!--T:65--> Start each line with a space.
  <translate nowrap><!--T:179--> Text is '''preformatted''' and</translate>
  <!--T:179--> Text is '''preformatted''' and
  <translate nowrap><!--T:180--> ''markups'' '''''can''''' be done.</translate>
  <!--T:180--> ''markups'' '''''can''''' be done.
</pre>
</pre>
----
----
|
|
  <translate><!--T:67--> Start each line with a space.</translate>
  <!--T:67--> Start each line with a space.
  <translate><!--T:181--> Text is '''preformatted''' and</translate>
  <!--T:181--> Text is '''preformatted''' and
  <translate><!--T:182--> ''markups'' '''''can''''' be done.</translate>
  <!--T:182--> ''markups'' '''''can''''' be done.
|}
|}


<translate>
 
== Paragraphs == <!--T:78-->
== Paragraphs == <!--T:78-->


<!--T:79-->
<!--T:79-->
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 tag <nowiki><br /></nowiki>.
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 tag <nowiki><br /></nowiki>.
</translate>
 


== Template 提供 ==
== Template 提供 ==
Line 330: Line 330:
<nowiki><htmltag tagname="img" 正常标签属性 /></nowiki>
<nowiki><htmltag tagname="img" 正常标签属性 /></nowiki>
</code>
</code>
== 数学公式 ==
使用<math>标签,即可使用latex公式

Revision as of 17:19, 13 June 2021


基本format

Description You type You get
Character (inline) formatting – applies anywhere
Italic text
''<!--T:8--> italic''

italic

Bold text
'''<!--T:11--> bold'''

bold

Bold and italic
'''''<!--T:14--> bold & italic'''''

bold & italic

Escape wiki markup
no [[wiki]] ''markup''
Section formatting – only at the beginning of the line
Section Headings of different levels

== Level 2 == <!--T:26-->

=== Level 3 === <!--T:27-->

==== Level 4 ==== <!--T:28-->

===== Level 5 ===== <!--T:29-->

====== Level 6 ====== <!--T:30-->


Level 2

Level 3

Level 4

Level 5
Level 6
Horizontal rule
<!--T:41--> Text before
----
<!--T:42--> Text after
Text before

Text after
Bullet list

<!--T:46-->
* Start each line
* with an [[Wikipedia:asterisk|asterisk]] (*).
** More asterisks give deeper
*** and deeper levels.
* Line breaks <br />don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.

<!--T:160-->
* combine bullet list
** with definition 
::- definition
** creates empty space

<!--T:161-->
* combine bullet list
** with definition 
*:- definition
** without empty spaces

<!--T:162-->
*bullet list
:- definition
:* sublist that doesn't create empty
:* spaces after definition

  • Start each line
  • with an asterisk (*).
    • More asterisks give deeper
      • and deeper levels.
  • Line breaks
    don't break levels.
      • But jumping levels creates empty space.

Any other start ends the list.

  • combine bullet list
    • with definition
- definition
    • creates empty space
  • combine bullet list
    • with definition
    - definition
    • without empty spaces
  • bullet list
- definition
  • sublist that doesn't create empty
  • spaces after definition
Numbered list

<!--T:49-->
# Start each line
# with a [[Wikipedia:Number_sign|number sign]] (#).
## More number signs give deeper
### and deeper
### levels.
# Line breaks <br />don't break levels.
### But jumping levels creates empty space.
# Blank lines

<!--T:50-->
# end the list and start another.
Any other start also
ends the list.

<!--T:183-->
<tvar name=1><nowiki>#</nowiki></tvar> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.

  1. Start each line
  2. with a number sign (#).
    1. More number signs give deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. end the list and start another.

Any other start also ends the list.

<tvar name=1>#</tvar> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.

Definition list

<!--T:54-->
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2

item 1
definition 1
item 2
definition 2-1
definition 2-2
Indent text

<!--T:57-->
: Single indent
:: Double indent
::::: Multiple indent


Single indent
Double indent
Multiple indent
Mixture of different types of list
<!--T:61-->
# one
# two
#* two point one
#* two point two
# three
#; three item one
#: three def one
# four
#: four def one
#: this looks like a continuation
#: and is often used
#: instead <tvar name=1><br /></tvar> of <tvar name=2><nowiki><br /></nowiki></tvar>
# five
## five sub 1
### five sub 1 sub 1
## five sub 2

  1. one
  2. two
    • two point one
    • two point two
  3. three
    three item one
    three def one
  4. four
    four def one
    this looks like a continuation
    and is often used
    instead <tvar name=1>
    </tvar> of <tvar name=2><br /></tvar>
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2
Preformatted text
 <!--T:65--> Start each line with a space.
 <!--T:179--> Text is '''preformatted''' and
 <!--T:180--> ''markups'' '''''can''''' be done.

 Start each line with a space.
 Text is preformatted and
 markups can be done.


Paragraphs

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 tag <br />.


Template 提供

Template:Member

Member 在table中添加成员

{| class=wikitable
|-
{{TeamMember|member=liupo|cfid=liupo|age=2018}}
|}

liupo member 2018

使用html标签

wiki可使用html标签较少,当出现无法使用标签时,可向管理员申请使用

申请后使用方式

<htmltag tagname="img" 正常标签属性 />