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

m
no edit summary
(Created page with "== [https://www.mediawiki.org/wiki/Help:Formatting 基本format] == == Template 提供 == === Template:Member === Member 在table中添加成员 <code> <nowiki> {| class=w...")
 
m
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
== Basci ==
* 编辑前,需要登陆
::之后访问想要创建的页面,如果无,则可以创建,否则修改即可
* 队伍页面格式为<code> namespace:page name</code>
::如 <nowiki>http://wiki.soullan.com/index.php/BreakFast:Front_Page</nowiki>
*与自己队伍的front page建立链接,使用
::<nowiki>[[page name| show name]] </nowiki>即可
::如<code><nowiki>[[BreakFast:Front Page|BreakFast]]</nowiki></code>
::显示为
::[[BreakFast:Front Page|BreakFast]]
* '''尽量只编辑自己队伍前缀命名的页面'''
::错误编辑用户,为保证wiki秩序可能会被封禁
* 编辑时请记得填写Summary以便回退
* 注册请向管理员申请 [mailto:lanzongwei541@gmail.com lanzongwei541@gmail.com]
* 需要实现某种效果但不知道如何实现,可以查看mediawiki语法,或者直接去页面view resource
::<del>必要时可使用markdown写完后转为mediawiki</del>
* 提供一些html标签使用
== [https://www.mediawiki.org/wiki/Help:Formatting 基本format] ==
== [https://www.mediawiki.org/wiki/Help:Formatting 基本format] ==
{| class="wikitable"
! <!--T:3--> Description
! width=40% | <!--T:4--> You type
! width=40% | <!--T:5--> You get
|-
! colspan="3" style="background: #ABE" | <!--T:6--> Character (inline) formatting – ''applies anywhere''
|-
| <!--T:7--> Italic text
| <pre>
''<!--T:8--> italic''
</pre>
|
''<!--T:9--> italic''
|-
| <!--T:10--> Bold text
| <pre>
'''<!--T:11--> bold'''
</pre>
|
'''<!--T:12--> bold'''
|-
| <!--T:13--> Bold and italic
| <pre>
'''''<!--T:14--> bold & italic'''''
</pre>
|
'''''<!--T:15--> bold & italic'''''
|- style="visibility: collapse;"
| colspan="3" |
|-
| <!--T:19--> Escape wiki markup
|
<!--T:155--> <nowiki>no [[wiki]] ''markup''</nowiki>
|-
! colspan="3" style="background: #ABE" | <!--T:24--> Section formatting – ''only at the beginning of the line''
|-
| <!--T:25--> Section Headings of different levels
| <pre>
== Level 2 == <!--T:26-->
=== Level 3 === <!--T:27-->
==== Level 4 ==== <!--T:28-->
===== Level 5 ===== <!--T:29-->
====== Level 6 ====== <!--T:30-->
</pre>
----
|
<!-- using HTML markup to avoid creating new sections -->
<!--T:35-->
<h2>Level 2</h2>
<!--T:36-->
<h3>Level 3</h3>
<!--T:37-->
<h4>Level 4</h4>
<!--T:38-->
<h5>Level 5</h5>
<!--T:39-->
<h6>Level 6</h6>
|-
| <!--T:40--> Horizontal rule
| <pre>
<!--T:41--> Text before
----
<!--T:42--> Text after
</pre>
|
<!--T:43--> Text before
----
<!--T:44--> Text after
|-
| <!--T:45--> Bullet list
|
<pre>
<!--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
</pre>
|
<!--T:47-->
* 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:163-->
* combine bullet list
** with definition
::- definition
** creates empty space
<!--T:164-->
* combine bullet list
** with definition
*:- definition
** without empty spaces
<!--T:165-->
*bullet list
:- definition
:* sublist that doesn't create empty
:* spaces after definition
|-
| <!--T:48--> Numbered list
|
<pre>
<!--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>&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.
</pre>
|
<!--T:51-->
# 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:52-->
# end the list and start another.
Any other start also
ends the list.
<!--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.
|-
| <!--T:53--> Definition list
| <pre>
<!--T:54-->
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
</pre>
|
<!--T:55-->
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
|-
| <!--T:56--> Indent text
| <pre>
<!--T:57-->
: Single indent
:: Double indent
::::: Multiple indent
</pre>
----
|
<!--T:59-->
: Single indent
:: Double indent
::::: Multiple indent
|-
| <!--T:60--> Mixture of different types of list
| <syntaxhighlight lang="html">
<!--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
</syntaxhighlight>
----
|
<!--T:63-->
# 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
|-
| <!--T:64--> Preformatted text
| <pre>
<!--T:65--> Start each line with a space.
<!--T:179--> Text is '''preformatted''' and
<!--T:180--> ''markups'' '''''can''''' be done.
</pre>
----
|
<!--T:67--> Start each line with a space.
<!--T:181--> Text is '''preformatted''' and
<!--T:182--> ''markups'' '''''can''''' be done.
|}
== Paragraphs == <!--T:78-->
<!--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>.


== Template 提供 ==
== Template 提供 ==