Difference between revisions of "Template:Theme"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
| (42 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <!--------------------------------- | + | <!--------------------------------- MANAGED TEMPLATE ----------------------------------><!-- |
--><noinclude><h2>Usage</h2> | --><noinclude><h2>Usage</h2> | ||
| Line 14: | Line 14: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
| − | <!-- PREPEND --><div class="sidebar-item formbutton-edit">{{# | + | <!-- PREPEND -->{{EvaluationResources}}{{SEO | {{{Title}}} | {{{Display_Title}}} | {{{Is About}}} }} <div class="sidebar-item formbutton formbutton-edit">{{#widget:BTN Form Edit|server={{SERVER}}|scriptpath={{SCRIPTPATH}}|fullpagename={{FULLPAGENAME}}|label=Edit}} |
<div class="smw-edit-dropdown" data-dropdown-trigger=""><div class="menu-dots">[[File:Dropdown_dots.svg|link=]]</div> | <div class="smw-edit-dropdown" data-dropdown-trigger=""><div class="menu-dots">[[File:Dropdown_dots.svg|link=]]</div> | ||
| − | <div class="te-dropdown-menu"> | + | <div class="te-dropdown-menu">{{Te Dropdown Menu}}</div></div> |
| − | </div> | + | </div>{{G Discussion Sidebar}} |
| − | {{G Discussion Sidebar}} | + | {{BTN Back|Theme}} |
<h1>{{{Title}}}</h1><!-- /PREPEND --><!-- | <h1>{{{Title}}}</h1><!-- /PREPEND --><!-- | ||
| − | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} | <h2>{{int:EGS Is About}}</h2>< | + | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} |<h2>{{int:EGS Is About}}</h2><div class="mw-field-value" data-property="Is About"> |
| − | {{{Is About|}}}</ | + | {{{Is About|}}} </div>| }}{{#if: {{{Important Because|}}} |<h2>{{int:EGS Important Because}}</h2><div class="mw-field-value" data-property="Important Because"> |
| − | {{{Important Because|}}}</ | + | {{{Important Because|}}} </div>| }}{{#if: {{{Important For|}}} |<h2>{{int:EGS Important For}}</h2><div class="mw-field-value" data-property="Important For"> |
{{#arraymap:{{{Important For|}}} | {{#arraymap:{{{Important For|}}} | ||
|; | |; | ||
|@@@@ | |@@@@ | ||
|<span class="label label-info label-tag">[[Important For:@@@@|@@@@]]</span> | |<span class="label label-info label-tag">[[Important For:@@@@|@@@@]]</span> | ||
| − | | | + | | |
| − | }}</ | + | }} </div>| }}{{#if: {{{Has Best Practice|}}} |<h2>{{int:EGS Has Best Practice}}</h2><div class="mw-field-value" data-property="Has Best Practice"> |
| − | {{{Has Best Practice|}}}</ | + | {{{Has Best Practice|}}} </div>| }}{{#if: {{{Has Detail|}}} |<h2>{{int:EGS Has Detail}}</h2><div class="mw-field-value" data-property="Has Detail"> |
| − | {{{Has Detail|}}}</ | + | {{{Has Detail|}}} </div>| }}<!-- /DISPLAY --><!-- |
| − | <-- APPEND-->{{#if: {{{Has Parent Theme|}}}| | [[Has Parent Theme::{{FULLPAGENAME}}| ]] | + | <-- APPEND-->{{#if: {{{Has Parent Theme|}}}| {{DEFAULTSORT:{{#ask:[[{{{Has Parent Theme}}}]]|?Display Title|mainlabel=-}}{{{Title}}} }} | [[Has Parent Theme::{{FULLPAGENAME}}| ]] {{DEFAULTSORT:{{{Title}}}}}}} |
| − | {{ | + | {{G Copyright|{{FULLPAGENAME}}|theme}}<!-- /APPEND --><!-- |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | {{ | ||
| − | + | <-- SMW ANNOTATION -->[[Theme Type::{{{Theme Type|}}}| ]][[Has Parent Theme::{{{Has Parent Theme|}}}| ]][[Title::{{{Title|}}}| ]]{{#set:Is About={{{Is About|}}}}}{{#set:Important Because={{{Important Because|}}}}}{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}{{#set:Has Best Practice={{{Has Best Practice|}}}}}{{#set:Has Detail={{{Has Detail|}}}}}<!-- /SMW ANNOTATION --><!-- | |
| − | |||
| − | <-- SMW ANNOTATION -->[[Theme Type::{{{Theme Type|}}}| ]][[Has Parent Theme::{{{Has Parent Theme|}}}| ]][[Title::{{{Title|}}}| ]] | ||
<-- ADDITIONAL SMW ANNOTATION -->[[Semantic Dependency::{{FULLPAGENAME}}| ]] [[Main Category::Category:Theme| ]] [[Display Title::{{{Title}}}| ]] <!-- /ADDITIONAL SMW ANNOTATION --><!-- | <-- ADDITIONAL SMW ANNOTATION -->[[Semantic Dependency::{{FULLPAGENAME}}| ]] [[Main Category::Category:Theme| ]] [[Display Title::{{{Title}}}| ]] <!-- /ADDITIONAL SMW ANNOTATION --><!-- | ||
<!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!-- | <!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!-- | ||
| + | <!-- APPROVABLE_BY -->{{#if:{{#approvable_by:}}||{{#approvable_by:groups=approver-theme}}}}<!-- /APPROVABLE_BY --><!-- | ||
| − | <-- CATEGORY -->[[Category:Theme]] <!-- /CATEGORY --></includeonly | + | <!-- CATEGORY -->[[Category:Theme]] <!-- /CATEGORY --></includeonly> |
| − | |||
| − | |||
Latest revision as of 13:26, 22 July 2025
Usage
{{Theme
|Theme Type=
|Has Parent Theme=
|Title=
|Is About=
|Important Because=
|Important For=
|Has Best Practice=
|Has Detail=
}}
