Difference between revisions of "User:Shadowm/WikiTest"
m (Shadowm moved page User:Shadowmaster/WikiTest to User:Shadowm/WikiTest: Automatically moved page while renaming the user "Shadowmaster" to "Shadowm") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Section 1 - Basic Elements == | == Section 1 - Basic Elements == | ||
− | + | <div class="thumb tright"><div> | |
+ | [http://www.wesnoth.org/wiki-images/wesnoth-map-1.12.jpg http://www.wesnoth.org/wiki-images/wesnoth-map-1.12-175.jpg] | ||
+ | <div class="thumbcaption">The Great Continent</div></div> | ||
+ | </div> | ||
Lorem <mark>ipsum</mark> dolor sit amet, [http://localhost/ consectetur adipiscing elit]. Proin feugiat, ante sed <abbr title="Dolor">placerat tincidunt</abbr>, eros dui pretium '''risus'', ut ''sollicitudin dui libero a turpis''. [https://www.wesnoth.org/ Nullam augue tortor], ullamcorper id sem ut, [[Play|commodo condimentum]] tortor. <ins>Maecenas ullamcorper turpis mollis risus pretium, non faucibus nunc mattis.</ins> Donec odio velit, auctor eget purus nec, rutrum mollis tellus: <cite>Morbi Facilisis Ultricies Dictum</cite>. Nulla non faucibus odio. Quisque <s>non tempor diam</s>, tempus eleifend velit. Maecenas eu pharetra tortor. <del>Vivamus vel dui mollis, faucibus nisl laoreet, iaculis eros.</del> <small>Duis aenean magna id lorem...</small> In dium at? (<time>2011-11-12</time>) | Lorem <mark>ipsum</mark> dolor sit amet, [http://localhost/ consectetur adipiscing elit]. Proin feugiat, ante sed <abbr title="Dolor">placerat tincidunt</abbr>, eros dui pretium '''risus'', ut ''sollicitudin dui libero a turpis''. [https://www.wesnoth.org/ Nullam augue tortor], ullamcorper id sem ut, [[Play|commodo condimentum]] tortor. <ins>Maecenas ullamcorper turpis mollis risus pretium, non faucibus nunc mattis.</ins> Donec odio velit, auctor eget purus nec, rutrum mollis tellus: <cite>Morbi Facilisis Ultricies Dictum</cite>. Nulla non faucibus odio. Quisque <s>non tempor diam</s>, tempus eleifend velit. Maecenas eu pharetra tortor. <del>Vivamus vel dui mollis, faucibus nisl laoreet, iaculis eros.</del> <small>Duis aenean magna id lorem...</small> In dium at? (<time>2011-11-12</time>) | ||
<hr /> | <hr /> | ||
− | Vestibulum '''''ultricies lorem quis''''' arcu tincidunt, a <dfn title="VDC">Venenatis Diam Consectetur</dfn>: <q>Mauris vitae vulputate lectus.</q> Duis nec sem at diam sodales pulvinar. Pellentesque auctor facilisis <abbr title="Tortor Vitae Condimentum">TVC</abbr>. Mauris nec euismod justo. Nullam ut blandit nibh, at pulvinar lectus. Integer dictum lorem quis elementum tempor. Duis pulvinar neque vitae odio luctus fringilla. Cras non scelerisque enim. In ut est rutrum, lobortis arcu euismod, pulvinar justo. Sed vitae sem auctor, dignissim magna non, faucibus mauris. Curabitur sit amet justo urna. | + | Vestibulum '''''ultricies lorem quis''''' arcu tincidunt, a <dfn title="VDC">Venenatis Diam Consectetur</dfn>: <q>Mauris vitae vulputate lectus.</q> Duis nec sem at diam sodales pulvinar. Pellentesque auctor facilisis <abbr title="Tortor Vitae Condimentum">TVC</abbr>. Mauris nec euismod justo. [mailto:test@localhost Nullam ut blandit] nibh, at pulvinar lectus. Integer dictum lorem quis elementum tempor. Duis pulvinar neque vitae odio luctus fringilla. Cras non scelerisque enim. In ut est rutrum, lobortis arcu euismod, pulvinar justo. Sed vitae sem auctor, dignissim magna non, faucibus mauris. Curabitur sit amet justo urna. |
+ | |||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.png Image link]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.jpg Image link 2]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.bmp Image link 3]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.tga Image link 4]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.tiff Image link 5]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.gif Image link 6]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.xcf Layered image link 1]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.psd Layered mage link 2]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.ora Layered mage link 3]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/images/items/bomb.kra Layered mage link 4]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/music/breaking_the_chains.ogg Audio link]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/music/breaking_the_chains.wav Audio link 2]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/music/breaking_the_chains.mp3 Audio link 3]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/thisdoesnotexist.ogm Video link]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/thisdoesnotexist.avi Video link 2]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/thisdoesnotexist.pdf PDF link]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/core/thisdoesnotexist.PDF PDF link 2]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/src/wesnoth.cpp C++ link]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/lua/wml-tags.lua Lua link]<br /> | ||
+ | [https://github.com/wesnoth/wesnoth/blob/master/data/_main.cfg WML link]<br /> | ||
+ | [mailto:test@localhost Email link]<br /> | ||
+ | [news:testetestestestestest Newsgroup link]<br /> | ||
+ | [http://localhost/ Unencrypted http link]<br /> | ||
+ | [https://localhost/ Encrypted http link]<br /> | ||
+ | [ftp://localhost/ FTP link] | ||
+ | [irc://chat.freenode.net/#wesnoth IRC link] | ||
+ | [ircs://chat.freenode.net/#wesnoth IRC link 2] | ||
+ | |||
+ | Indentation levels | ||
: Sed porttitor velit id luctus scelerisque. | : Sed porttitor velit id luctus scelerisque. | ||
Line 20: | Line 53: | ||
===== Section 1a-a-a ===== | ===== Section 1a-a-a ===== | ||
− | + | <div class="thumb tleft"><div> | |
+ | [http://www.wesnoth.org/images/sshots/wesnoth-1.11.11-1.jpg http://www.wesnoth.org/images/sshots/wesnoth-1.11.11-1-175.jpg] | ||
+ | <div class="thumbcaption">Closing the Gates</div></div> | ||
+ | </div> | ||
Cras rutrum erat quis malesuada lacinia. Mauris sollicitudin leo nec malesuada pulvinar. Phasellus vulputate, turpis quis imperdiet facilisis, libero tellus sollicitudin felis, at hendrerit sapien magna non tortor. Quisque laoreet vitae sem ac tincidunt. Mauris varius congue egestas. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque et odio at urna bibendum auctor quis ac sapien. Nam id fermentum magna. Aenean dignissim tincidunt nisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce ultricies urna et hendrerit bibendum. In iaculis tellus non nisl consectetur, vel pellentesque magna viverra. Vestibulum eu metus a libero tincidunt varius. Duis nisl ligula, aliquet vitae blandit ut, commodo at libero. | Cras rutrum erat quis malesuada lacinia. Mauris sollicitudin leo nec malesuada pulvinar. Phasellus vulputate, turpis quis imperdiet facilisis, libero tellus sollicitudin felis, at hendrerit sapien magna non tortor. Quisque laoreet vitae sem ac tincidunt. Mauris varius congue egestas. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque et odio at urna bibendum auctor quis ac sapien. Nam id fermentum magna. Aenean dignissim tincidunt nisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce ultricies urna et hendrerit bibendum. In iaculis tellus non nisl consectetur, vel pellentesque magna viverra. Vestibulum eu metus a libero tincidunt varius. Duis nisl ligula, aliquet vitae blandit ut, commodo at libero. | ||
Latest revision as of 06:23, 27 February 2018
Proin placerat, lorem sed auctor consequat, augue ipsum interdum odio, consectetur sollicitudin enim odio vitae dui. In interdum urna et mauris pharetra commodo. In vulputate nunc sem, in accumsan mauris tincidunt non. Maecenas consequat varius ultricies. Vivamus vel elementum justo. Aenean eu auctor arcu. Nunc ut quam eu dolor pharetra blandit. Integer gravida est eu est euismod, sit amet finibus arcu placerat. Maecenas tristique pellentesque neque, ac finibus erat viverra sit amet. Sed neque tortor, venenatis vehicula odio sed, vehicula pellentesque massa.
Contents
Section 1 - Basic Elements
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin feugiat, ante sed placerat tincidunt, eros dui pretium 'risus, ut sollicitudin dui libero a turpis. Nullam augue tortor, ullamcorper id sem ut, commodo condimentum tortor. Maecenas ullamcorper turpis mollis risus pretium, non faucibus nunc mattis. Donec odio velit, auctor eget purus nec, rutrum mollis tellus: Morbi Facilisis Ultricies Dictum. Nulla non faucibus odio. Quisque non tempor diam, tempus eleifend velit. Maecenas eu pharetra tortor. Vivamus vel dui mollis, faucibus nisl laoreet, iaculis eros. Duis aenean magna id lorem... In dium at? ()
Vestibulum ultricies lorem quis arcu tincidunt, a Venenatis Diam Consectetur: Mauris vitae vulputate lectus.
Duis nec sem at diam sodales pulvinar. Pellentesque auctor facilisis TVC. Mauris nec euismod justo. Nullam ut blandit nibh, at pulvinar lectus. Integer dictum lorem quis elementum tempor. Duis pulvinar neque vitae odio luctus fringilla. Cras non scelerisque enim. In ut est rutrum, lobortis arcu euismod, pulvinar justo. Sed vitae sem auctor, dignissim magna non, faucibus mauris. Curabitur sit amet justo urna.
Image link
Image link 2
Image link 3
Image link 4
Image link 5
Image link 6
Layered image link 1
Layered mage link 2
Layered mage link 3
Layered mage link 4
Audio link
Audio link 2
Audio link 3
Video link
Video link 2
PDF link
PDF link 2
C++ link
Lua link
WML link
Email link
Newsgroup link
Unencrypted http link
Encrypted http link
FTP link
IRC link
IRC link 2
Indentation levels
- Sed porttitor velit id luctus scelerisque.
- Phasellus ullamcorper risus et libero placerat, sed molestie risus consectetur.
- Nunc vulputate nisi varius rhoncus pellentesque.
- Nullam laoreet ligula a urna suscipit rutrum.
- Proin et turpis nec purus aliquam ornare.
- Nullam laoreet ligula a urna suscipit rutrum.
- Nunc vulputate nisi varius rhoncus pellentesque.
- Phasellus ullamcorper risus et libero placerat, sed molestie risus consectetur.
Section 1a
Section 1a-a
Section 1a-a-a
Cras rutrum erat quis malesuada lacinia. Mauris sollicitudin leo nec malesuada pulvinar. Phasellus vulputate, turpis quis imperdiet facilisis, libero tellus sollicitudin felis, at hendrerit sapien magna non tortor. Quisque laoreet vitae sem ac tincidunt. Mauris varius congue egestas. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque et odio at urna bibendum auctor quis ac sapien. Nam id fermentum magna. Aenean dignissim tincidunt nisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce ultricies urna et hendrerit bibendum. In iaculis tellus non nisl consectetur, vel pellentesque magna viverra. Vestibulum eu metus a libero tincidunt varius. Duis nisl ligula, aliquet vitae blandit ut, commodo at libero.
Section 2 - Lists
Bullet list:
- Item 1
- Item 2
- Item 3
- Subitem 3A
- Subitem 3B
- Infraitem 3Ba
- Infraitem 3Bb
- Butts
- Butts
- Butts
- Item 4
- Subitem 4A
- Item 5
Numbered list:
- Item 1
- Item 2
- Subitem 2A
- Subitem 2B
- Infraitem 3Ba
- Infraitem 3Bb
- Butts
- Butts
- Butts
- Item 4
- Subitem 4A
- Item 5
Definition list:
- Item A
- Pellentesque tincidunt nunc eu dolor maximus, vel mollis arcu facilisis.
- Item B
- Cras nec odio nec arcu euismod cursus tempus ac purus.
- Item C
- Maecenas quis nulla dapibus justo sagittis posuere non vitae orci.
- Fusce ut nisl mattis, elementum justo sit amet, porta justo.
- Nam quis dolor ac arcu aliquam aliquam sed non risus.
- Item D
- Item E
- Proin et turpis nec purus aliquam ornare.
Section 3 - Block Elements
Code box:
#include <stdio.h> int main(int argc, char** argv) { printf("Hello world!\n"); return 0; }
Inline code std::find(a.begin(), a.end(), "butts");
and hostnames.i.guess.localhost
?
(Okay, this is not a block element, but still.)
I think, therefore, I am.
-- Will Smith, I'm pretty sure.
Syntax-highlighted block:
local old_unit_status = wesnoth.theme_items.unit_status
function wesnoth.theme_items.unit_status()
local _ = wesnoth.textdomain "mydomain"
local u = wesnoth.get_displayed_unit()
if not u then return {} end
local s = old_unit_status()
if u.status.entangled then
table.insert(s, { "element", {
image = "entangled.png",
tooltip = _"entangled: This unit is entangled. It cannot move but it can still attack."
} })
end
return s
end
Section 4 - Tables
Pretty table:
key | type | default | description |
---|---|---|---|
id | string | mandatory | Unique id for this window. |
description | t_string | mandatory | Unique translatable name for this window. |
resolution | section | mandatory | The definitions of the window in various resolutions. |
Ugly bordered table:
key | type | default | description |
---|---|---|---|
id | string | mandatory | Unique id for this gui (theme). |
description | t_string | mandatory | Unique translatable name for this gui. |
widget_definitions | section | mandatory | The definitions of all widgets. |
window | section | mandatory | The definitions of all windows. |
settings | section | mandatory | The settings for the gui. |
Borderless table:
key | type | default | description |
---|---|---|---|
id | string | mandatory | The unique id of the group (unique in this window). |
fixed_width | bool | false | Should widget in this group have the same width. |
fixed_height | bool | false | Should widget in this group have the same height. |