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

From SmartHubs
Jump to: navigation, search
Line 15: Line 15:
 
<h6 class="card-subtitle mb-2 text-muted">{{location|city={{{city|}}}|country={{{country|}}}}}</h6>
 
<h6 class="card-subtitle mb-2 text-muted">{{location|city={{{city|}}}|country={{{country|}}}}}</h6>
 
<p class="card-text"><div class="semorg-list-row-details">{{{description|}}}</div></p>
 
<p class="card-text"><div class="semorg-list-row-details">{{{description|}}}</div></p>
<p class="card-text"><span class="badge badge-primary">{{{type|}}}</span> <span class="badge badge-primary">{{{smartness|}}}</span></p>
+
<p class="card-text"><span class="badge badge-primary">{{{type|}}}</span> {{#ifeq:{{{smartness|}}}|unknown
 +
  |
 +
  |<span class="badge badge-primary">{{{smartness|}}}</span>
 +
}}</p>
 
<p class="card-text"><div class="semorg-list-row-details">{{#ask:[[-semorg-hub-mode-mode.semorg-hub-mode-hub::{{{target}}}]]
 
<p class="card-text"><div class="semorg-list-row-details">{{#ask:[[-semorg-hub-mode-mode.semorg-hub-mode-hub::{{{target}}}]]
 
   |?semorg-mode-name=name
 
   |?semorg-mode-name=name

Revision as of 13:40, 9 May 2022