Difference between revisions of "Template:Theme"

From The Embassy of Good Science
(MWBot)
(MWBot)
Line 6: Line 6:
 
   |Has Parent Theme=
 
   |Has Parent Theme=
 
   |Title=
 
   |Title=
 +
  |Is Flagged=
 
   |Is About=
 
   |Is About=
 
   |Important Because=
 
   |Important Because=
Line 16: Line 17:
 
<!-- PREPEND --><div class="sidebar-item formbutton-edit">{{#widget:FormEdit|link={{FULLPAGENAME}}|label=edit}}
 
<!-- PREPEND --><div class="sidebar-item formbutton-edit">{{#widget:FormEdit|link={{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">[[Share]][{{fullurl:{{FULLPAGENAME}}|action=edit}} View source][{{fullurl:{{FULLPAGENAME}}|action=history}} History]</div></div>
+
<div class="te-dropdown-menu">[[Share]][{{fullurl:{{FULLPAGENAME}}|action=edit}} View source][{{fullurl:{{FULLPAGENAME}}|action=history}} History]{{#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>
 
</div>
 
{{G Discussion Sidebar}}
 
{{G Discussion Sidebar}}
 
<h1>{{{Title}}}</h1><!-- /PREPEND --><!--
 
<h1>{{{Title}}}</h1><!-- /PREPEND --><!--
  
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} | <h2>{{int:EGS Is About}}</h2><p data-property="Is About">
+
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is Flagged|}}} | <h2>{{int:EGS Is Flagged}}</h2><p data-property="Is Flagged">
 +
{{{Is Flagged|}}}</p>|}}{{#if: {{{Is About|}}} | <h2>{{int:EGS Is About}}</h2><p data-property="Is About">
 
{{{Is About|}}}</p>|}}{{#if: {{{Important Because|}}} | <h2>{{int:EGS Important Because}}</h2><p data-property="Important Because">
 
{{{Is About|}}}</p>|}}{{#if: {{{Important Because|}}} | <h2>{{int:EGS Important Because}}</h2><p data-property="Important Because">
 
{{{Important Because|}}}</p>|}}{{#if: {{{Important For|}}} | <h2>{{int:EGS Important For}}</h2><p data-property="Important For">
 
{{{Important Because|}}}</p>|}}{{#if: {{{Important For|}}} | <h2>{{int:EGS Important For}}</h2><p data-property="Important For">
Line 36: Line 38:
 
{{G Copyright|{{FULLPAGENAME}}|theme}}<!-- /APPEND --><!--
 
{{G Copyright|{{FULLPAGENAME}}|theme}}<!-- /APPEND --><!--
  
<-- SMW ANNOTATION -->[[Theme Type::{{{Theme Type|}}}| ]][[Has Parent Theme::{{{Has Parent Theme|}}}| ]][[Title::{{{Title|}}}| ]][[Is About::{{{Is About|}}}| ]][[Important Because::{{{Important Because|}}}| ]]{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}[[Has Best Practice::{{{Has Best Practice|}}}| ]][[Has Detail::{{{Has Detail|}}}| ]]<!-- /SMW ANNOTATION --><!--
+
<-- SMW ANNOTATION -->[[Theme Type::{{{Theme Type|}}}| ]][[Has Parent Theme::{{{Has Parent Theme|}}}| ]][[Title::{{{Title|}}}| ]][[Is Flagged::{{{Is Flagged|}}}| ]][[Is About::{{{Is About|}}}| ]][[Important Because::{{{Important Because|}}}| ]]{{#arraymap:{{{Important For|}}}|;|@@@@|[[Important For::@@@@| ]]| }}[[Has Best Practice::{{{Has Best Practice|}}}| ]][[Has Detail::{{{Has Detail|}}}| ]]<!-- /SMW ANNOTATION --><!--
  
 
<-- 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 --><!--

Revision as of 11:50, 19 August 2020

Usage

{{Theme
  |Theme Type=
  |Has Parent Theme=
  |Title=
  |Is Flagged=
  |Is About=
  |Important Because=
  |Important For=
  |Has Best Practice=
  |Has Detail=
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6