Difference between revisions of "Sandbox"

From BattleMaster Wiki
Jump to navigation Jump to search
m (two columns)
Line 6: Line 6:
 
Feel free to add or delete anything on this page. It is for getting used to the wiki, and for experimenting with syntax. Just don't be surprised if it disappears.
 
Feel free to add or delete anything on this page. It is for getting used to the wiki, and for experimenting with syntax. Just don't be surprised if it disappears.
  
 
+
h3 { clear: both; padding-top: 1em; }
== Logged In/Out ==
+
ul.twocol { width: 400px; }
Extension that shows segments of a page depending on whether you're logged in or logged out:
+
ul.fourcol { width: 800px; }
 
+
li { float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px; }
* Test 1: <loggedin>This text should only be visible if you are logged '''in'''</loggedin>
+
* Test 2: <loggedout>This text should only be visible if you are '''not''' logged in</loggedout>
+
===Two columns===
 
+
<ul style="width: 400px;">
 
+
==Tournament Property ==
+
<li style="float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px;">Papaya</li>
 
+
<li style="float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px;">Mango</li>
All tournaments:
+
<li style="float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px;">Banana banana banana banana banana banana banana</li>  
{{#ask: [[Tournament::+]]}}
+
<li style="float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px;">Pineapple</li>
 
+
<li style="float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px;">Cantaloupe</li>  
Tournaments on Beluaterra:
+
<li style="float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px;">Watermelon</li>  
{{#ask: [[Tournament:: ?; Beluaterra; ?; ?; ?; ?; ?]]}}
+
<li style="float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px;">Apricot</li>  
 
+
<li style="float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px;">Pear</li>
Tournaments that had only swordfighting:
+
</ul>
{{#ask: [[Tournament:: ?; ?; swordfighting; ?; ?; ?; ?]]}}
 
 
 
Tournaments with a top prize over 900 gold:
 
{{#ask: [[Tournament:: ?; ?; ?; >901; ?; ?; ?]]}}
 
 
 
 
 
== Factbox ==
 
btw. you can enable the factbox (if any facts are present on the page, e.g. [[abilities::testing]]:
 
__SHOWFACTBOX__
 
(it will be displayed at the bottom of the page)
 
 
 
 
 
== Semantics test ==
 
Capital of Astrum: {{#ask: [[capital of::Astrum]]| default=Unknown}}<br>
 
Largest city of Astrum:{{#ask: [[part of::Astrum]] [[is regiontype::Stronghold||City]] | limit = 1 | sort = population | order = desc | searchlabel= | default=Unknown}}<br>
 
Duchies of Astrum: {{#ask: [[part of::Astrum]] [[is regiontype::Stronghold||City]] | format = count | default=Unknown}}<br>
 
Regions of Astrum: {{#ask: [[part of::Astrum]] [[is regiontype::+]] | format = count | default=Unknown}}
 

Revision as of 18:31, 17 February 2011

BM wiki search for Firefox 2.0!

Courtesy of LilWolf

This is the Sandbox, feel free to play

Feel free to add or delete anything on this page. It is for getting used to the wiki, and for experimenting with syntax. Just don't be surprised if it disappears.

h3 { clear: both; padding-top: 1em; } ul.twocol { width: 400px; } ul.fourcol { width: 800px; } li { float: left; width: 180px; margin: 0px 20px 0px 0px; padding: 0px; }

Two columns

  • Papaya
  • Mango
  • Banana banana banana banana banana banana banana
  • Pineapple
  • Cantaloupe
  • Watermelon
  • Apricot
  • Pear