Template:Knowledge: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="wikitable" style="float:right; margin-left:1em; width:300px;" | |||
| colspan="2" style="text-align:center;" | {{#if:{{{image|}}}|[[File:{{{image}}}|290px]]|''No image''}} | |||
|- | |||
! Format | |||
| {{{format}}} | |||
{{#if:{{{subtitle|}}}|{{!}}- | |||
! Subtitle | |||
{{!}} {{{subtitle|}}} | |||
}} | |||
{{#if:{{{original_title|}}}|{{!}}- | |||
! Original Title | |||
{{!}} "{{{original_title}}}" | |||
}} | |||
{{#if:{{{author|}}}|{{!}}- | |||
! Author | |||
{{!}} [[Has author::{{{author|}}}]] | |||
}} | |||
{{#if:{{{original_source|}}}|{{!}}- | |||
! Source Type | |||
{{!}} {{{original_source}}} | |||
}} | |||
{{#if:{{{url|}}}|{{!}}- | |||
! URL | |||
{{!}} [[Has url::{{{url|}}}]] | |||
}} | |||
|- | |||
! Topics | |||
| {{{topics}}} | |||
|- | |||
! Category | |||
| {{{categories}}} | |||
|- | |||
! Featured? | |||
| [[Is featured::{{{featured|}}}]] | |||
{{#if:{{{description|}}}|{{!}}- | |||
! Description | |||
{{!}} {{{description}}} | |||
}} | |||
|} | |||
<div style="display:none;"> | <div style="display:none;"> | ||
<!-- Invisible Data Section --> | |||
[[Category:Knowledge]] | [[Category:Knowledge]] | ||
[[Has knowledge format::{{{format}}}]] | [[Has knowledge format::{{{format}}}]] | ||
Line 31: | Line 47: | ||
{{#arraymap:{{{categories|}}}|,|x|[[Belongs to main category::x]]}} | {{#arraymap:{{{categories|}}}|,|x|[[Belongs to main category::x]]}} | ||
[[Has description::{{{description|}}}]] | [[Has description::{{{description|}}}]] | ||
[[Has subtitle::{{{subtitle|}}}]] | [[Has subtitle::{{{subtitle|}}}]] | ||
[[Has original title::{{{original_title|}}}]] | [[Has original title::{{{original_title|}}}]] | ||
[[Has original source::{{{original_source|}}}]] | [[Has original source::{{{original_source|}}}]] | ||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
This is the template for Knowledge pages | This is the template for Knowledge pages with infobox display. | ||
</noinclude> | </noinclude> |
Revision as of 17:49, 27 July 2025
This is the template for Knowledge pages with infobox display.