Difference between revisions of "Template:SMW banner"

From Yugipedia
Jump to: navigation, search
({{documentation}})
(switch to using {{IfSemantics}}, since I switched that to using a much less expensive check)
Line 1: Line 1:
{{
+
{{IfSemantics
  #if: {{ #ask: [[*]] | limit=0 }}
+
| {{Ombox
  | {{Ombox
+
  | type  = speedy
    | type  = speedy
+
  | style = text-align: center;
    | style = text-align: center;
+
  | text  = Semantic MediaWiki is <span style="color: #600;">'''disabled'''</span>. ([{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh])
    | text  = Semantic MediaWiki is <span style="color: #600;">'''disabled'''</span>. ([{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh])
+
}}
  }}
+
| {{Ombox
    | {{Ombox
+
  | type  = notice
    | type  = notice
+
  | style = text-align: center; border-color: #22b222; border-width: 2px; background-color: #EFE;
    | style = text-align: center; border-color: #22b222; border-width: 2px; background-color: #EFE;
+
  | text  = Semantic MediaWiki is <span style="color: #060;">'''enabled'''</span>. ([{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh])
    | text  = Semantic MediaWiki is <span style="color: #060;">'''enabled'''</span>. ([{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh])
+
}}
  }}
 
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 07:58, 27 January 2011