%{
}%
%TMPL:INCLUDE{"view"}%
%{
}%
%{
}%
%TMPL:DEF{"formdefinition"}%%QUERY{"form.name"}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"beforetext"}%%IF{
"$'DISPLAYTOPICTITLE'!='off'"
then="$percntTMPL:P{\"beforetext::title\"}$percnt"
}%%IF{
"$'ENABLEQUALITYCHECK'='on' and '%WEB%.%TOPIC%' allows 'change'"
then="$percntTMPL:P{\"qualitycheck\"}$percnt"
}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"beforetext::title"}%<div class="foswikiTopicInfo">
%DBCALL{"Applications.RenderWikiTopicView"
TITLE_EXTRA="%TMPL:P{"titleextra"}%"
TITLE_PREFIX="%TMPL:P{"titleicon"}%"
}%
</div>%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"form"}%%TMPL:END%
%TMPL:DEF{"topicinfo"}%%TMPL:END%
%TMPL:DEF{"revinfo"}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"qualitycheck"}%%TMPL:P{"qualitycheck::multipleh1"}%%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"qualitycheck::multipleh1"}%%IF{
"'%BASEWEB%.%BASETOPIC%'/text=~'\-\-\-\+[^\+]'"
then="<p class='foswikiWarningMessage'>%TRANSLATE{"There are multiple h1 titles on this page. Please use only one h1 for the title and h2-h6 within the text."}%</p>
"
}%%TMPL:END%
%{
}%