User:KTucker/My Sandbox

From Wikiversity
Jump to: navigation, search

This page is for experiments with wiki markup. Some of these explorations may become useful components (or templates) for use on Wikiversity and other Mediawiki based projects such as WikiEducator.

Page and Section Layout Templates[edit]


Portal Header[edit]

{{Portal_Header}} - this will list several portals

Humanities · Physical Sciences · Life Sciences · Practical Arts and Sciences · Mathematics · Computer Science · Engineering and Technology · Interdisciplinary Studies · Social Sciences · Education · Media · Professions · Learning Projects · Learning Materials · Research · Informatics · Other portals


Portal Templates[edit]

Tabbed[edit]

I needed a portal framework similar to the one on Wikipedia for Free Software. So, I implemented an almost identical equivalent on Wikiversity:

A variation has been set up which I use in this project:

Login Link[edit]

After several failed experiments ... success (thanks to SB Johnny):

Code:

 <span class="plainlinks">
 [http://en.wikiversity.org/w/index.php?title=Special:UserLogin&returnto={{FULLPAGENAMEE}} Login]
 </span>

(note the extra 'E' in 'FULLPAGENAMEE').

Result: Login

Sub-pages[edit]

Multilingual Pages[edit]

Tests[edit]

Temp[edit]

Category Tree[edit]


Add a section[edit]

Template:Test Preload

Wikipedia Search[edit]

Wikipedia-logo.png Search for Social sciences on Wikipedia.

Wikipedia search on a term such as "Social sciences".

Alija Hamiti Born in Gjilan Kosovo it is taken with Karate is a champion of many fold since the child but later began to Kikbox But She has achieved many successes in karate after and kikbox. It now begins with Fubtoll this year which is an achievement so much for them and now plays for Albania is also in the women's national team football in Albania and Albania team plays in the defensive position it plays swing arm and right hand

Properties[edit]

A page/template as an object (holding the data about something, e.g. a learning activity), with sub-page "method" templates to display it:

Text View[edit]

The name is stone , the id is 3 , the weight is 10

(why new line and space to indent?) and the Volume is 11
(why a new line?).

I could have done this:

Property, Value

Name, stone

id, 3

colour, red

Weight,10

Volume, 11


Table View[edit]

Enough to show that there is potential:


Property Value
Name stone
id 3
Weight 10
Volume 11


Switch[edit]

Yes

"Oui"

"maybe"

Incorporating Text from another page[edit]

Test incorporation of this text into another page.
This text is in Template:Social Entrepreneurship Tasks
  • action a
  • action b
  • etc.

Conditions[edit]

Check whether a parameter has been specified:

Template "/Animals/" with a name and attribute:

mouse size:

A mouse is small

elephant _:

What elephant attribute?

frog _

Unknown animal - frog

frog size:

Unknown animal - frog

frog weight:

Unknown animal - frog

_ size:

size of what?

_ _:

Unspecified attribute for unspecified animal.

mouse weight:

For a mouse I can only tell you size

Mind Maps - Freemind[edit]

<mm>File:Test.mm</mm>

- apparently, the required extension is not installed.

Images[edit]

Aim: mouseover text (alt'?) to be different from caption:

Alt Text
My Caption
mouseover image text
caption

Bookmarks[edit]
http://en.wikiversity.org/wiki/User:KTucker/My_Sandbox
en.wikiversity.org
crawl=CC-MAIN-2013-48
65424
application/http; msgtype=response
sha1:RDYES5SX7M2K5T5H2BEJX3L5ZET2CLRY
<urn:uuid:406c12cf-cbab-4b6a-a860-aea33f033d7e>
2013-12-09T00:32:22Z
208.80.154.231
sha1:WXTRMK7WMPDZRTGV7XF76Q7VDFN3IFOC
<urn:uuid:55554856-524d-40da-aa46-81bd009c6f2b>
http://en.wikiversity.org/wiki/User:KTucker/My_Sandbox
response
<urn:uuid:cd543327-1505-4b10-899a-ef576f42f8c3>
robots: classic
hostname: ip-10-33-133-15.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2013-48
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for Winter 2013
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf