Du ser en gammel version af denne side. Se den nuværende version.

Sammenlign med nuværende Vis sidehistorik

Version 1 Næste »

This style a single page (where the Macro is) - giving the possibility to hide/style header, text, backgrounds etc.

Name

me-style

Macro Body Processing

Rendered

 

Code

## @param showheader:title=Show Header|type=enum|enumValues=block,none|required=true|default=block|desc=block shows the item, none hides it
## @param showpagetitle:title=Show Page Title|type=enum|enumValues=block,none|required=true|default=block|desc=block shows the item, none hides it
## @param showpagefooter:title=Show Page Footer|type=enum|enumValues=block,none|required=true|default=block|desc=block shows the item, none hides it
## @param hidelikesandlabels:title=Hide likes and labels|type=enum|enumValues=block,none|required=true|default=block|desc=block shows the item, none hides it
## @param headerbackgroundimage:title=Header background image|type=string|desc=Enten a valid Url
## @param pagebackgroundimage:title=Page background image|type=string|desc=Enten a valid Url
## @param mainbackgroundimage:title=Main background image|type=string|desc=Enten a valid Url


<style>
#com-atlassian-confluence #header { display:${paramshowheader}; background-image: url(${paramheaderbackgroundimage}); }
#com-atlassian-confluence #title-text { display:${paramshowpagetitle}; }
#com-atlassian-confluence #footer { display:${paramshowpagefooter}; }
#com-atlassian-confluence 
#page { background-image: url(${parampagebackgroundimage}); }
#com-atlassian-confluence #main { background-image: url(${parammainbackgroundimage}); }
#com-atlassian-confluence #likes-and-labels-container { display:${paramhidelikesandlabels}; }
#com-atlassian-confluence #labels-section { display:${paramhidelikesandlabels}; }
</style>


  • Ingen etiketter