Difference between revisions of "Extension & Option Samples"

From MagnetoWiki
Jump to navigation Jump to search
(Replace HarvardRef sample with built-in Cite sample.)
(Update broken Body-in-Question clip, now points to full episode)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Here are some simple examples of useful extensions on MagnetoWiki. Edit or View Source to see the markup.
 
Here are some simple examples of useful extensions on MagnetoWiki. Edit or View Source to see the markup.
 +
 +
==Infobox==
 +
 +
{{infobox
 +
|title = An amazing Infobox
 +
|header1 = It works!
 +
|label2 = Configured by
 +
|data2 = houpt
 +
|label3 = Web
 +
|data3 = [https://houptlab.org houptlab.org]
 +
}}
 +
 +
{{Infobox experiment|align=right
 +
| Name = Valproate and Ovariectomy
 +
| project = Histone Acetylation
 +
| code = DMB
 +
| protocol = 1917
 +
| funding = Chair's Fund
 +
| investigators = Mukherjee, Houpt
 +
| species = rat
 +
| date = 2022-12-4
 +
| type = CTA
 +
| drugs = valproate, lithium
 +
| artifacts = PMID 23720133
 +
| data = https://houptlab.org/bartab/expt/?id=DMQ
 +
}}
  
 
==Raw HTML==
 
==Raw HTML==
Line 29: Line 55:
 
==EmbedVideo Sample==
 
==EmbedVideo Sample==
  
{{#ev:youtube|X3dDQQcWhyU}}
+
{{#ev:youtube|yUBQjnQVJ4U}}
  
 
==Cite References Sample==
 
==Cite References Sample==
Line 45: Line 71:
 
<ref name="smith1978">R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44–46.</ref>
 
<ref name="smith1978">R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44–46.</ref>
 
</references>
 
</references>
 +
 +
==Category Trees & Clouds==
 +
 +
===Tree===
 +
<categorytree mode="all">Taste Aversion</categorytree>
 +
 +
===Cloud===
 +
<tagcloud></tagcloud>
 +
 +
===Syntax Highlighting of Code===
 +
 +
See [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight SyntaxHighlight Extension]
 +
 +
<syntaxhighlight lang=prolog>
 +
mortal(X) :-
 +
    human(X).
 +
 +
human(socrates).
 +
</syntaxhighlight>
  
 
==Upgrade Test==
 
==Upgrade Test==

Latest revision as of 07:08, 3 July 2023

Here are some simple examples of useful extensions on MagnetoWiki. Edit or View Source to see the markup.

Infobox

An amazing Infobox
It works!
Configured byhoupt
Webhouptlab.org
Valproate and Ovariectomy
Histone Acetylation
Expt CodeDMB
Start Date2022-12-4
InvestigatorsMukherjee, Houpt
FundingChair's Fund
Protocol1917
Expt TypeCTA
Speciesrat
Drugsvalproate, lithium
Data Linkhttps://houptlab.org/bartab/expt/?id=DMQ
ArtifactsPMID 23720133

Raw HTML

MagnetoWiki allows raw HTML. This is a standard MediaWiki feature, not an extension.

Click here.

Magic Links

Optional MediaWiki Magic Links:

SimpleTable Sample

A B A xor B
0 0 0
0 1 1
1 0 1
1 1 0

EmbedVideo Sample

Cite References Sample

[Note: old HarvardReference extension is deprecated]

MagnetoWiki now includes the Extension

According to scientists, the Sun is pretty big.[1] The Moon, however, is not so big.[2]

Notes

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23–25.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44–46.

Category Trees & Clouds

Tree

  LacZ
  Pica

Cloud

Syntax Highlighting of Code

See SyntaxHighlight Extension

mortal(X) :-
    human(X).

human(socrates).

Upgrade Test

This is a test that Mediawiki 1.23.9 is working.

An image using old Image namespace:

HouptLabIcon-flat.png

An image using new File namespace:

HouptLabIcon-flat.png

test edit.