Sandbox: Difference between revisions

From The Sextant of Worlds
Jump to navigationJump to search
No edit summary
Line 46: Line 46:
  <nowiki> </nowiki><nowiki>|</nowiki> subheader2 = Second subheader of the infobox
  <nowiki> </nowiki><nowiki>|</nowiki> subheader2 = Second subheader of the infobox
  <nowiki> </nowiki><nowiki>|</nowiki><nowiki> header    = (the rest of the infobox goes here) }}</nowiki>
  <nowiki> </nowiki><nowiki>|</nowiki><nowiki> header    = (the rest of the infobox goes here) }}</nowiki>
== Portable Infoboxes ==
<portableInfobox> <pi-title>{{{title|}}}</pi-title> <pi-image>{{{image|}}}</pi-image> <pi-section>
  <pi-item label="Author">{{{author|}}}</pi-item>
  <pi-item label="Publisher">{{{publisher|}}}</pi-item>
  <pi-item label="Genre">{{{genre|}}}</pi-item>
  <pi-item label="Pages">{{{pages|}}}</pi-item>
</pi-section> </portableInfobox>


== Citations ==
== Citations ==

Revision as of 02:10, 1 May 2025

This page is for testing out MediaWiki extensions, themes, and tools.

Input Box Process

Status: Not Working 4/17/25

Followed:

https://www.mediawiki.org/wiki/Manual:Importing_Wikipedia_infoboxes_tutorial

Installed: required

  • Extension:ParserFunctions
  • Extension:Scribunto
  • Extension:Wikibase (some but not all templates need this)
  • Extension:TemplateStyles

Want to implement:

https://en.wikipedia.org/wiki/Template:Infobox_game/doc

Not currently appearing under templates to Insert.

Infoboxes

Module:Infobox

https://en.wikipedia.org/wiki/Module:Infobox

Infobox Company:

Template:Infobox company

Infobox Book

Infobox Game Test
PublishersPublisher test
GenresGenre Test
Websitehttps://www.sextantofworlds.net/index.php/Template:Infobox_book/doc
{{Infobox
 | name       = Template:'''subst''':'''PAGENAME'''
 | above      = Text in uppermost cell of infobox
 | subheader  = Subheader of the infobox
 | subheader2 = Second subheader of the infobox
 | header     = (the rest of the infobox goes here) }}

Portable Infoboxes

<portableInfobox> <pi-title></pi-title> <pi-image></pi-image> <pi-section>

 <pi-item label="Author"></pi-item>
 <pi-item label="Publisher"></pi-item>
 <pi-item label="Genre"></pi-item>
 <pi-item label="Pages"></pi-item>

</pi-section> </portableInfobox>

Citations

Status: Not Working

https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates