Template: Semorg-topic-map-topic: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
m (Text replacement - "badge-secondary" to "text-bg-secondary")
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
   |style=
   |style=
   |links=
   |links=
   |title={{{?name|}}}
   |body=<div class="float-right">{{#semorg-formlink:topic
  |body={{{?description|}}}
    |target={{{target|}}}
  |tables=
    |link text=<i class="fa fa-pen" style="font-size:small"></i>
  |content=
    |class=-
  |footer={{#ifexpr:{{#ask:[[semorg-project-topic::{{{?target|}}}]]|format=count}}>0
    |returnto={{FULLPAGENAME}}
    |<small class="text-muted">{{#ask:[[semorg-project-topic::{{{?target|}}}]]|format=count}} {{int:semorg-field-topic-project-research-name}}</small>{{#ifexpr:{{#ask:[[semorg-person-topic::{{{?target|}}}]]|format=count}}>0
  }}</div><h5 class="card-title">[[{{{target|}}}|{{{name|}}}]]</h5><div class="card-text" style="font-size:small">
       |&nbsp;·&nbsp;
{{{description|}}}</div>{{#ifexpr:{{#ask:[[semorg-project-topic::{{{target|}}}]]|format=count}}>0
  |<div class="card-text mt-2" style="font-size:small">{{#ifexpr:{{#ask:[[semorg-project-topic::{{{target|}}}]]|format=count}}>0
      |<div class="text-muted">{{int:semorg-field-topic-project-research-name|{{#ask:[[semorg-project-topic::{{{target|}}}]]|format=count}}}}</div>
    }}{{#ifexpr:{{#ask:[[semorg-person-topic::{{{target|}}}]]|format=count}}>0
       |<div class="text-muted">{{int:semorg-field-topic-person-name|{{#ask:[[semorg-person-topic::{{{target|}}}]]|format=count}}}}</div>
    }}</div>{{#arraymap:{{{type|}}}
      |,
      |xxx
      |<span class="badge text-bg-secondary mr-1">xxx</span>
      |
     }}
     }}
  }}{{#ifexpr:{{#ask:[[semorg-person-topic::{{{?target|}}}]]|format=count}}>0
    |<small class="text-muted">{{#ask:[[semorg-person-topic::{{{?target|}}}]]|format=count}} {{int:semorg-field-topic-person-name}}</small>
   }}
   }}
}}</includeonly>
}}</includeonly>

Latest revision as of 13:02, 14 November 2024

This page is part of the Semantic Organization extension.