About-wiki

From stonehomewiki
Revision as of 09:45, 5 March 2023 by Stonezhong (talk | contribs) (Created page with "= Wiki Features = == You can use raw HTML tags == You can wrap your html content in <nowiki><html>...</html></nowiki>, for example, <html><div style="background-color:green;">hello</div></html> source code: <pre><nowiki><html><div style="background-color:green;">hello</div></html></nowiki></pre> == You can insert external images == === method 1: use raw img tag === for example: <html><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/FullMoon2010.jpg/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Wiki Features

You can use raw HTML tags

You can wrap your html content in <html>...</html>, for example,

hello

source code:

<html><div style="background-color:green;">hello</div></html>

You can insert external images

method 1: use raw img tag

for example:

source code:

<html><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/FullMoon2010.jpg/220px-FullMoon2010.jpg" /></html>

method 2: use traditional wiki style

Example:

https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/FullMoon2010.jpg/220px-FullMoon2010.jpg
This is a picture

source code:

{|
| https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/FullMoon2010.jpg/220px-FullMoon2010.jpg
|-
| This is a picture
|}

insert youtube video

Insert raw html directly. example

source code:

<iframe width="560" height="315" src="https://www.youtube.com/embed/syp6Lsd8HOo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

expandable

Example:

source:

<div class="toccolours mw-collapsible mw-collapsed mono expandable">
<div class="mw-collapsible-preview"></div>
<div class="mw-collapsible-content">
* [https://www.youtube.com/ youtube]
</div>
</div>
<p></p>