CategoryViewTemplate
View for Categories

02 May 2019 - 06:19 | Version 1 |

%{
}%
%TMPL:INCLUDE{"Applications.WikiTopicView"}%
%TMPL:DEF{"sidebar"}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"breadcrumbs::contents"}%%DBCALL{
  "Applications.ClassificationApp.RenderCategoryBreadcrumbs"
  CAT="%URLPARAM{"catname" default="%TOPIC%"}%"
  SEP="%TMPL:P{"sep"}%"
}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"beforetext::title"}%<!-- -->
%CATINFO{
   cat="%URLPARAM{"catname" default="%BASETOPIC%"}%"
   format="<h1 class='clsCategoryTitle'>$icon $link 
     $percntIF{\"'$percntENCODE{\"$summary\" type=\"entity\"}$percnt'!=''\"
       then=\"<br /><span class='foswikiTopicSummary'>$summary</span>\"
     }$percnt</h1>"
}%
%IF{"'%DISPLAYREVISIONINFO{default="on"}%'='on' and '%TOPIC%' != 'TopCategory'"
   then="$percntTMPL:P{\"catrevinfo\"}$percnt"
}%<!-- -->%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"catrevinfo"}%<div class='foswikiTopicInfo'>
%CATINFO{
  cat="%URLPARAM{"catname" default="%BASETOPIC%"}%" 
  format="$percntFORMATLIST{\"$parentlinks\" 
         split=\"\s*,\s*\" 
         separator=\"&#44; \" 
         header=\"%JQICON{"fa-share fa-rotate-270"}% \"
      }$percnt"
}%%RENDERFORDISPLAY{
   field="ResponsiblePerson"
   topic="%URLPARAM{"catname" default="%BASETOPIC%"}%"
   header=" <span class='foswikiRevisionSep'>&#124;</span> $percntJQICON{\"fa-user\"}$percnt "
   footer=""
   format="$value"
   hideempty="on"
}%</div>%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"title"}%%HTMLTITLE{
  separator=" %HTMLTITLESEP{default="-"}% "
  title="%TMPL:P{"categorytitle"}%"
}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"metatitle::content"}%%TMPL:P{"categorytitle"}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"categorytitle"}%%IF{"defined catname"
  then="$percntCATINFO{cat=\"%URLPARAM{"catname"}%\" format=\"$title\"}$percnt"
  else="%TOPICTITLE%"
}%%TMPL:END%
%{
}%
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Middle Fork Home Wiki? Send feedback
Syndicate this site RSS