Personal Info Layout Modules

%STARTSECTION{"paragraphWithImageLeft"}%<div class="pIparagraphWithImageLeft">
<div class="pIparagraphWithImageLeftImage">
<div class="foswikiImage">%INCLUDE{"%TOPIC%" section="image"}%</div><!--/foswikiImage-->
</div><!--/pIparagraphWithImageLeftImage-->
<div class="pIparagraphWithImageLeftText">
%text%
</div><!--/pIparagraphWithImageLeftText-->
<p class="foswikiClear" />
</div><!--/pIparagraphWithImageLeft-->%ENDSECTION{"paragraphWithImageLeft"}%

%STARTSECTION{"image"}%%INCLUDE{"%TOPIC%" section="%IF{"context ImagePluginEnabled and '%module%'!='pubImage'" then="imagePluginImage" else="pubImage"}%"}%%ENDSECTION{"image"}%

%STARTSECTION{"pubImage"}%%IF{"defined imgName and '%imgName%'!=''" then="%IF{"'%imgType%'!='nolink'" then="<a href='%PUBURL%/%imgWeb%/%imgTopic%/%imgName%'>"}%<img src='%PUBURL%/%imgWeb%/%imgTopic%/%imgName%' %IF{"defined imgTitle and '%imgTitle%'!=''" then="title='%imgTitle%' alt='%imgTitle%'" else="title='%MAKETEXT{"Enlarge"}%' alt='%MAKETEXT{"Enlarge"}%'"}% %IF{"defined imgWidth and '%imgWidth%'!=''" then="width='%imgWidth%'"}% %IF{"defined imgHeight and '%imgHeight%'!=''" then="height='%imgHeight%'"}%  />%IF{"$imgType!='nolink'" then="</a>"}%" else="<img src='%PUBURL%/%SYSTEMWEB%/PersonalInfoAddOn/silhouette.gif' %IF{"defined imgTitle and '%imgTitle%'!=''" then="title='%imgTitle%' alt='%imgTitle%'" else="title='%MAKETEXT{"Enlarge"}%' alt='%MAKETEXT{"Enlarge"}%'"}% %IF{"defined imgWidth and '%imgWidth%'!=''" then="width='%imgWidth%'"}% %IF{"defined imgHeight and '%imgHeight%'!=''" then="height='%imgHeight%'"}%/>"}%%ENDSECTION{"pubImage"}%

%STARTSECTION{"imagePluginImage"}%%IMAGE{
   "%IF{"defined imgName and '%imgName%'!=''" then="%imgName%" else="silhouette.gif"}%" 
   warn="off" 
   align="none" 
   topic="%IF{"defined imgName and '%imgName%'!=''" then="%imgTopic%" else="%WEB%.%TOPIC%"}%"
   %IF{"defined imgWidth" then="width=\"%imgWidth%\""}%
   %IF{"defined imgHeight and '%imgHeight%'!=''" then="height=\"%imgHeight%\""}%
   crop="on"
   type="%IF{"$imgType='nolink'" then="plain" else="simple"}%"
   title="%IF{"defined imgTitle" then='%imgTitle%' else='"%MAKETEXT{"Enlarge"}%"'}%" 
}%%ENDSECTION{"imagePluginImage"}%

%STARTSECTION{"paragraphWithImageLeftStyle"}%%ADDTOHEAD{
"PersonalInfoAddOn_paragraphWithImageLeftStyle"
text="<style type='text/css' media='all'>
.pIparagraphFrame {}
.pIparagraphWithImageLeft {
   margin:1em 0 0 0;
}
.pIparagraphWithImageLeftText {
   margin-left:%URLPARAM{"imgWidth" default="120"}%px;
   padding-left:25px;
}
.pIparagraphWithImageLeftImage {
   float:left;
}
.pIFormer .pIStatus {
   color:#999;
        font-size:80%;
}
</style>"
}%%ENDSECTION{"paragraphWithImageLeftStyle"}%
Topic revision: r5 - 13 Apr 2020, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy