Actions

Chunk

Difference between revisions of "Topic Layout"

From Joomla! Documentation

Line 3: Line 3:
 
<!-- The contents will be a template {{Chapter Head|1|2|3|4|5}}  -->
 
<!-- The contents will be a template {{Chapter Head|1|2|3|4|5}}  -->
 
<!-- parameter 1 will be a text string for Topic_Name -->
 
<!-- parameter 1 will be a text string for Topic_Name -->
<!-- parameter 2 will determine if In Preparation shows. Options null|yes -->
+
<!-- parameter 2 will determine if the References section shows. Options yes|null -->
<!-- parameter 3 will determine if the future template is called. Options null|yes -->
+
<!-- parameter 3 will determine if the Might Also Like section shows. Options yes|null -->
<!-- parameter 4 will determine if the Header section shows. Options yes|null -->
+
<!-- parameter 4 will determine if the Acknowledgements section shows. Options yes|null -->
<!-- parameter 5 will determine if the Footer section shows. Options yes|null -->
+
<!-- parameter 5 will determine if In Preparation shows. Options yes|null -->
 +
<!-- parameter 6 will determine if the future template is called. Options yes|nulls -->
 
<!--Begin outer table-->
 
<!--Begin outer table-->
{| width=100% cellspacing="0" cellpadding="0" style="margin:0em 0em 1em 0em; width:100% background-color:lavender;"
 
| style="width:100%; vertical-align:top; border:1px solid darkmagenta; background-color:lavender;" |
 
<div style="border-bottom:1px solid Sienna; background-color:Wheat; padding:0.2em 0.5em 0.2em 0.5em; font-size:150%; font-weight:bold;">Topic Title  - In Preparation</div>
 
  
<!-- Parameters 1 Title, 2 In Preparation
+
<table width=100% cellspacing="0" cellpadding="0" style="margin:0em 0em 1em 0em; width:100% background-color:lavender;>
 +
<tr style="width:100%; vertical-align:top; border:1px solid darkmagenta; background-color:lavender;"><td>
 +
<div style="border-bottom:1px solid Sienna; background-color:Wheat; padding:0.2em 0.5em 0.2em 0.5em; font-size:150%; font-weight:bold;">{{{1}}} {{#if: {{{2|}}}| - In Preparation. }} </div>
  
 
<!--Begin inner table-->
 
<!--Begin inner table-->
{| cellspacing="5" cellpadding="2" style="margin:1.5em 2% 1.5em 2%; width:96%" border="0"
+
<table cellspacing="5" cellpadding="2" style="margin:1.5em 2% 1.5em 2%; width:96%" border="0">
 
+
{{#if: {{{3|}}}|<tr><td colspan="2" >{{future|1.6}}</td></tr>}}
<!--Begin row FUTURE-->
+
<!--Begin row SUMMARY :: This is all contained in Topic Summary -->
|-
+
<tr><td style="vertical-align:top; border:1px solid #abd5f5; background-color: #f1f5fc;" >
<!-- colspan not needed - only once column wide -->
+
|{{future|1.6}}
+
 
+
:Parameterised to allow future notice to be switched on/off
+
 
+
<!-- End row FUTURE :: This whole row will disappear driven by a parameter in FUTURE -->
+
 
+
<!--Begin row HEADER :: This is all contained in Topic Head :: whole row will disappear driven by parameter in HEADER -->
+
|-
+
| style="vertical-align:top; border:1px solid #abd5f5; background-color: #f1f5fc;" |
+
 
<div style="border-bottom:1px solid abd5f5; background-color:#d0e5f5; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">Header Section.</div>
 
<div style="border-bottom:1px solid abd5f5; background-color:#d0e5f5; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">Header Section.</div>
 
<div style="padding:0.4em 1em 0.3em 1em;">
 
<div style="padding:0.4em 1em 0.3em 1em;">
 
<!-- Parameter This section is substituted by Topic Head -->
 
<!-- Parameter This section is substituted by Topic Head -->
{{Chunk: Topic Head}}
+
{{Chunk: Topic Summary}}
: The substitution here will include the html.
+
 
+
:This means that a Topic Head chunk containing a null entry will suppress this section.
+
 
</div>
 
</div>
<!-- End row HEADER -->
+
<!-- End row SUMMARY -->
 
<!--Begin third row TEXT  :: This markup is permanent to produce minimal configuration. -->
 
<!--Begin third row TEXT  :: This markup is permanent to produce minimal configuration. -->
 
|-
 
|-

Revision as of 08:15, 9 November 2009

{{{1}}}
Header Section.

|- | style=" vertical-align:top; border:1px solid #abd5f5; background-color: #f1f5fc;" |

Topic

Chunk:Topic

|- | style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" |

What Links Here

Chunk:Topic Links

The substitution here will include the html and a parameter will control if it appears at all.

|- | style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" |

References

Chunk:Topic References

The substitution here will include the html and a parameter will control if it appears at all.

|- | style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" |

Might Also Like

Chunk:Topic MightLike

The substitution here will include the html and a parameter will control if it appears at all.

|- | style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" |

Acknowledgements

Chunk:Topic Acknowledgements

The substitution here will include the html and a parameter will control if it appears at all.

|}

|}

License

License

The contents of this wiki are subject to copyright law and are made available under the Joomla! Electronic Documentation License (JEDL) unless otherwise stated. You may find the JEDL Frequently Asked Questions useful in determining if your proposed use of this material is allowed. If you have any questions regarding licensing of this material please contact legal@opensourcematters.org. If you wish to report a possible violation of the license terms for the material on this site then please contact legal@opensourcematters.org.




{{{1}}}
Chapter Commentary

{{Chunk:M16 {{{1}}} Commentary}}

Contents

{{Chunk:M16 {{{1}}} Menu}}

License

License

The contents of this wiki are subject to copyright law and are made available under the Joomla! Electronic Documentation License (JEDL) unless otherwise stated. You may find the JEDL Frequently Asked Questions useful in determining if your proposed use of this material is allowed. If you have any questions regarding licensing of this material please contact legal@opensourcematters.org. If you wish to report a possible violation of the license terms for the material on this site then please contact legal@opensourcematters.org.