Joeytje50/Wikicode/Tags
Discuss0
22,736pages
on this wiki
on this wiki
< User:Joeytje50 | Wikicode
- This page is for information about tags in wikicode. For general information about Wikicode, please see the general guide.
Wikicode tags
Edit
There are a few tags that have to do nothing with HTML, but the Wikicode reacts to it and changes the source code. All tags have to be closed just like HTML tags.
| Tag | Changes |
|---|---|
| <nowiki> | Changes all entered text to plain text |
| <noinclude> | Ignores all entered text when the page is transcluded |
| <includeonly> | Ignores all entered text on the current page, but shows when it's transcluded. |
| <onlyinclude> | Lets all other content than the entered text be ignored when it's transcluded. |
| <poll> | Makes a poll possible, like on the Main page |
| <choose><option>option 1</option><option>option 2</option></choose> | Randomly chooses one of the options. |
Forbidden HTML tags
Edit
Normally, HTML tags are allowed, even if there's a Wikicode equivalent for it. (<h1>header</h1> is allowed, even though it has the =header= equivalent). Some HTML tags are not allowed though. Here's a list of forbidden tags (excluding tags which are rarely used):
- <!DOCTYPE>
- <html>
- <head>
- <meta>
- <link>
- <title>
- <script>
- <noscript>
- <style>
- <body>
- <button>
- <iframe>
- <input>
- <option>
- <textarea>
- <a>
- <img>
- <map>
- <thead>
- <tbody>
- <tfoot>
Also any JS attributes (like onclick/onmouseover etc.) are forbidden.