Difference between revisions of "Template:Semorg-hub-mode"

From SmartHubs
Jump to: navigation, search
(Created page with "<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-subobject:hub-mode |hub={{FULLPAGENAME}} |provider={{{provider|}}} |number-users={{{number-users|}}}...")
 
 
(22 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
   |mode={{{mode|}}}  
 
   |mode={{{mode|}}}  
 
   |electrified={{{electrified|}}}
 
   |electrified={{{electrified|}}}
}}
+
  |note={{{note|}}}
* {{{mode|}}}<small>{{#if:{{{provider|}}}
+
}}{{#if:{{{provider|}}}
   |Provider: {{{provider}}}
+
  |{{#semorg-subobject:hub-actor
}}{{#if:{{{status|}}}
+
    |actor={{{provider|}}}
   |Status: {{{status}}}
+
    |hub={{FULLPAGENAME}}
}}{{#if:{{{electrified|}}}
+
    |role=Provider
   |electrified: {{{electrified}}}
+
    |description={{#show:{{{mode}}}|?semorg-mode-name}}
}}</small></includeonly>
+
  }}
 +
}}{{semorg-card
 +
  |style={{#ifeq:{{{status|}}}|existing||opacity:.6}}
 +
  |body=<div class="float-right"><i class="{{#show:{{{mode|}}}|?semorg-mode-icon}}"></i></div><div>{{mode-link|{{{mode|}}}}}</div><div style="font-size:small">{{#if:{{{provider|}}}
 +
   |Provider: {{provider-link|{{{provider}}}}}<br>
 +
}}{{#ifeq:{{{status|}}}|existing
 +
  |
 +
   |Status: {{{status}}}<br>
 +
}}{{#ifeq:{{{electrified|}}}|yes
 +
   |electrified<br>
 +
}}{{#if:{{{note|}}}
 +
  |Note: {{{note|}}}<br>
 +
}}</div>
 +
}}</includeonly>

Latest revision as of 15:35, 13 October 2021

This page is part of the Semantic Organization extension.

If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-hub-mode-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-hub-mode-template