Difference between revisions of "Template:Theme"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
Line 15: | Line 15: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | <!-- PREPEND -->{{SEO | {{{Title}}} | {{{Display_Title}}} | {{{Is About}}} }} | + | <!-- PREPEND -->{{SEO | {{{Title}}} | {{{Display_Title}}} | {{{Is About}}} }} |
− | + | <div class="sidebar-item formbutton-edit">{{#widget:FormEdit|link={{FULLPAGENAME}}|label=open theme}} | |
<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">{{Te Dropdown Menu}}{{#autoedit:form=Theme|target={{FULLPAGENAME}}|link text=Flag content|link type=link|query string=Theme[Is Flagged]=true|summary=Content was flagged because of inappropriate content.}}</div></div> | <div class="te-dropdown-menu">{{Te Dropdown Menu}}{{#autoedit:form=Theme|target={{FULLPAGENAME}}|link text=Flag content|link type=link|query string=Theme[Is Flagged]=true|summary=Content was flagged because of inappropriate content.}}</div></div> | ||
Line 24: | Line 24: | ||
<h1>{{{Title}}}</h1><!-- /PREPEND --><!-- | <h1>{{{Title}}}</h1><!-- /PREPEND --><!-- | ||
− | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is Flagged|}}} | <h2>{{int:EGS Is Flagged}}</h2>< | + | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is Flagged|}}} | |
− | {{{Is Flagged|}}}</ | + | <h2>{{int:EGS Is Flagged}}</h2> |
− | {{{Is About|}}}</ | + | <div class="mw-field-value" data-property="Is Flagged"> |
− | {{{Important Because|}}}</ | + | {{{Is Flagged|}}} </div>| }}{{#if: {{{Is About|}}} | |
+ | <h2>{{int:EGS Is About}}</h2> | ||
+ | <div class="mw-field-value" data-property="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|}}} </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|}}} | ||
|; | |; | ||
Line 33: | Line 41: | ||
|<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|}}} | |
− | {{{Has Best Practice|}}}</ | + | <h2>{{int:EGS Has Best Practice}}</h2> |
− | {{{Has Detail|}}}</ | + | <div class="mw-field-value" data-property="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|}}} </div>| }}<!-- /DISPLAY --><!-- | ||
<-- APPEND-->{{#if: {{{Has Parent Theme|}}}| {{DEFAULTSORT:{{#ask:[[{{{Has Parent Theme}}}]]|?Display Title|mainlabel=-}}{{{Title}}} }} | [[Has Parent Theme::{{FULLPAGENAME}}| ]] {{DEFAULTSORT:{{{Title}}}}}}} | <-- APPEND-->{{#if: {{{Has Parent Theme|}}}| {{DEFAULTSORT:{{#ask:[[{{{Has Parent Theme}}}]]|?Display Title|mainlabel=-}}{{{Title}}} }} | [[Has Parent Theme::{{FULLPAGENAME}}| ]] {{DEFAULTSORT:{{{Title}}}}}}} |
Revision as of 15:37, 10 September 2020
Usage
{{Theme |Theme Type= |Has Parent Theme= |Title= |Is Flagged= |Is About= |Important Because= |Important For= |Has Best Practice= |Has Detail= }}