Jump to content

Company Infoboxes: Difference between revisions

From NeoWiki Demo
Content deleted Content added
NeoWiki (talk | contribs)
Importing NeoWiki demo data
NeoWiki (talk | contribs)
Importing NeoWiki demo data
Line 1: Line 1:
<div class="ext-neowiki-view" data-mw-neowiki-subject-id="s1demo1aaaaaaa1"></div>
<div class="ext-neowiki-view" data-mw-neowiki-subject-id="s1demo5sssssss1"></div>

This page shows infoboxes with data from the [[Professional Wiki]] and [[ACME Inc]] pages.
This page shows infoboxes with data from the [[Professional Wiki]] and [[ACME Inc]] pages.


== Default Infobox ==
This is achieved with the following wikitext that references the IDs of the subjects:

Shows all properties in schema-defined order:

{{#view: s1demo1aaaaaaa1}}
{{#view: s1demo5sssssss1}}

== With a Layout ==


The same subjects rendered through the [[Layout:CompanyOverview]] Layout, which only shows "World domination progress" and "Founded at":
<pre>
<div class="ext-neowiki-view" data-mw-neowiki-subject-id="s1demo1aaaaaaa1"></div>
<div class="ext-neowiki-view" data-mw-neowiki-subject-id="s1demo5sssssss1"></div>
</pre>


{{#view: s1demo1aaaaaaa1 | CompanyOverview}}
This syntax is temporary and will change as we move out of the proof-of-concept phase.
{{#view: s1demo5sssssss1 | CompanyOverview}}

Revision as of 11:01, 25 March 2026

This page shows infoboxes with data from the Professional Wiki and ACME Inc pages.

Default Infobox

Shows all properties in schema-defined order:

With a Layout

The same subjects rendered through the Layout:CompanyOverview Layout, which only shows "World domination progress" and "Founded at":

Unexpected extra positional argument: CompanyOverview
Unexpected extra positional argument: CompanyOverview