Difference between revisions of "SDNU ICPC Wiki:Help Page"
Line 29: | Line 29: | ||
'''''<translate><!--T:15--> bold & italic</translate>''''' | '''''<translate><!--T:15--> bold & italic</translate>''''' | ||
|- style="visibility: collapse;" | |- style="visibility: collapse;" | ||
| colspan="3" | | | colspan="3" | | ||
|- | |- | ||
| <translate><!--T:19--> Escape wiki markup</translate> | | <translate><!--T:19--> Escape wiki markup</translate> | ||
| | | | ||
<translate><!--T:155--> <nowiki>no [[wiki]] ''markup''</nowiki></translate> | <translate><!--T:155--> <nowiki>no [[wiki]] ''markup''</nowiki></translate> | ||
Line 57: | Line 52: | ||
</pre> | </pre> | ||
---- | ---- | ||
| | | | ||
<!-- using HTML markup to avoid creating new sections --> | <!-- using HTML markup to avoid creating new sections --> | ||
Line 208: | Line 198: | ||
</translate> | </translate> | ||
</pre> | </pre> | ||
| | | | ||
<translate> | <translate> | ||
Line 229: | Line 218: | ||
</pre> | </pre> | ||
---- | ---- | ||
| | | | ||
<translate> | <translate> | ||
Line 261: | Line 249: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
---- | ---- | ||
| | | | ||
<translate> | <translate> | ||
Line 290: | Line 277: | ||
</pre> | </pre> | ||
---- | ---- | ||
| | | | ||
<translate><!--T:67--> Start each line with a space.</translate> | <translate><!--T:67--> Start each line with a space.</translate> | ||
<translate><!--T:181--> Text is '''preformatted''' and</translate> | <translate><!--T:181--> Text is '''preformatted''' and</translate> | ||
<translate><!--T:182--> ''markups'' '''''can''''' be done.</translate> | <translate><!--T:182--> ''markups'' '''''can''''' be done.</translate> | ||
|} | |} | ||
Line 344: | Line 287: | ||
<!--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 < | 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> | </translate> | ||
Revision as of 17:03, 13 June 2021
基本format
<translate> Description</translate> | <translate> You type</translate> | <translate> You get</translate> |
---|---|---|
<translate> Character (inline) formatting – applies anywhere</translate> | ||
<translate> Italic text</translate> | ''<translate nowrap><!--T:8--> italic</translate>'' |
<translate> italic</translate> |
<translate> Bold text</translate> | '''<translate nowrap><!--T:11--> bold</translate>''' |
<translate> bold</translate> |
<translate> Bold and italic</translate> | '''''<translate nowrap><!--T:14--> bold & italic</translate>''''' |
<translate> bold & italic</translate> |
<translate> Escape wiki markup</translate> |
<translate> no [[wiki]] ''markup''</translate> | |
<translate> Section formatting – only at the beginning of the line</translate> | ||
<translate> Section Headings of different levels</translate> | <translate> == Level 2 == <!--T:26--> === Level 3 === <!--T:27--> ==== Level 4 ==== <!--T:28--> ===== Level 5 ===== <!--T:29--> ====== Level 6 ====== <!--T:30--> </translate> |
<translate> Level 2Level 3Level 4Level 5Level 6</translate> |
<translate> Horizontal rule</translate> | <translate nowrap><!--T:41--> Text before</translate> ---- <translate nowrap><!--T:42--> Text after</translate> |
<translate> Text before</translate> <translate> Text after</translate> |
<translate> Bullet list</translate> |
<translate nowrap> <!--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 </translate> |
<translate>
Any other start ends the list.
</translate> |
<translate> Numbered list</translate> |
<translate nowrap> <!--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. </translate> |
<translate>
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.</translate> |
<translate> Definition list</translate> | <translate nowrap> <!--T:54--> ;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2 </translate> |
<translate>
</translate> |
<translate> Indent text</translate> | <translate nowrap> <!--T:57--> : Single indent :: Double indent ::::: Multiple indent </translate> |
<translate>
</translate> |
<translate> Mixture of different types of list</translate> | <translate nowrap>
<!--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
</translate>
|
<translate>
</translate> |
<translate> Preformatted text</translate> | <translate nowrap><!--T:65--> Start each line with a space.</translate> <translate nowrap><!--T:179--> Text is '''preformatted''' and</translate> <translate nowrap><!--T:180--> ''markups'' '''''can''''' be done.</translate> |
<translate> Start each line with a space.</translate> <translate> Text is preformatted and</translate> <translate> markups can be done.</translate> |
<translate>
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 />. </translate>
Template 提供
Template:Member
Member 在table中添加成员
{| class=wikitable
|-
{{TeamMember|member=liupo|cfid=liupo|age=2018}}
|}
liupo | 2018 |
使用html标签
wiki可使用html标签较少,当出现无法使用标签时,可向管理员申请使用
申请后使用方式
<htmltag tagname="img" 正常标签属性 />