Star Army implemented the use of the struct plugin in December 2020. The plugin allows pages to be tagged with elements of structured data that can be used and aggregated by other pages. Struct data is stored as schemas (generally page schemas on Star Army, as in they are attached to pages such as character bios) and schemas have columns.
Full documentation of the struct plugin is found here.
The basics are:
Here's some examples.
This example is a list of characters from one player that is searchable and has multiple pages if there's more than 25 results.
---- struct table ---- schema: characters cols: character_image, %title% filter: owner = user:wes order: %title% csv: 0 dynfilters: 1 rownumbers: 1 max: 25 ----
Here's a sample crew roster as seen on the page YSS Eucharis Crew & Personnel. It calls from two schemas and uses columns from each one.
---- struct table ---- schema: stararmy_personnel, characters cols: character_image_chibi, saoy_rank, %title%, saoy_occupation, owner, status filter: saoy_status = Active Duty filter: saoy_assignment = stararmy:starships:yss_eucharis order: %title% csv: 0 ----
---- struct table ---- schema: characters, ndc_personnel cols: character_image, ndc_rank, %title%, ndc_jobcode, owner, status filter: ndc_assignment = plot:nds_ravenacas_watch order:%title% csv: 0 ----
Star Army's wiki has multiple schemas. The main ones are detailed below:
The characters schema is probably Star Army's most important one and applies to all character pages in the correct namespaces (including WIPs).
Columns you can use are:
A schema for tracking common colors in Star Army. Most data is global (not attached to a page).
Corp is applied to corp: namespace
Currently editable only by Wes
Schema ndc_personnel has the following columns available:
nep_personnel is used for characters in the Nepleslian military and is applied to the character: and character:npc: namespaces.
Places is a new schema for star systems, planets, locations, and other places characters can visit.
Note: place_type was replaced by place_cat on 2/5/21
Available columns are:
Available columns are:
The schema products is for manufactured items. It is applied in the items: and corp: namespace.
Editable by wiki staff or admins.
Available columns are:
The Star Army Personnel schema stararmy_personnel is used for tracking Star Army of Yamatai characters.
Available columns are: