Actions

Chunk

Difference between revisions of "Topic Layout"

From Joomla! Documentation

Line 19: Line 19:
 
<!--Begin row SUMMARY  :: This is all contained in Topic Summary  -->
 
<!--Begin row SUMMARY  :: This is all contained in Topic Summary  -->
 
<tr><td style="vertical-align:top; border:1px solid #abd5f5; background-color: #f1f5fc;" >
 
<tr><td 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;">{{{1}}} Summary.</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 Summary}}
+
{{Chunk:M16 {{{1}}} Summary}}
 
</div>
 
</div>
 
<!-- End row SUMMARY -->
 
<!-- End row SUMMARY -->
Line 28: Line 28:
 
|-
 
|-
 
| style=" vertical-align:top; border:1px solid #abd5f5; background-color: #f1f5fc;" |
 
| 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;">Topic</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;">{{{1}}} - In Detail</div>
{{Chunk:Topic}}
+
{{Chunk:M16 {{{1}}} Article}}
 
+
 
</div>
 
</div>
 
<!-- End third row TEXT -->
 
<!-- End third row TEXT -->
<!-- Begin WHAT LINKS HERE :: This is all contained in Name Footer  :: whole row will disappear driven by parameter in WHAT LINKS HERE  -->
+
<!-- Begin WHAT LINKS HERE :: No special Chunk required here since this is managed by the same Chunk for all Topics -->
|-
+
 
| style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" |
+
<tr><td style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" colspan="2">
<div style="border-bottom:1px solid abd5f5; background-color:#ffff66; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">What Links Here</div>
+
<div style="border-bottom:1px solid abd5f5; background-color:#ffff88; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">What Links Here</div>
 
<div style="padding:0.4em 1em 0.3em 1em;">
 
<div style="padding:0.4em 1em 0.3em 1em;">
<!-- PICTURE ON LEFT OF TWO BOX SECTION -->
+
{{Chunk:M16 What Links Here}}
{{Chunk: Topic Links}}
+
 
+
: The substitution here will include the html and a parameter will control if it appears at all.
+
 
</div>
 
</div>
 +
</td>
 +
</tr>}}
 
<!-- End WHAT LINKS HERE -->
 
<!-- End WHAT LINKS HERE -->
<!-- Begin REFERENCES  :: This is all contained in Topic references  :: whole row will disappear driven by parameter in REFERENCES  -->
+
<!-- Begin REFERENCES  -->
|-
+
{{#if: {{{2|}}}|<tr><td style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" colspan="2">
| style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" |
+
 
<div style="border-bottom:1px solid abd5f5; background-color:#ffff88; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">References</div>
 
<div style="border-bottom:1px solid abd5f5; background-color:#ffff88; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">References</div>
 
<div style="padding:0.4em 1em 0.3em 1em;">
 
<div style="padding:0.4em 1em 0.3em 1em;">
<!-- PICTURE ON LEFT OF TWO BOX SECTION -->
+
{{Chunk:M16 {{{1}}} References}}
{{Chunk: Topic References}}
+
 
+
: The substitution here will include the html and a parameter will control if it appears at all.
+
 
</div>
 
</div>
 +
</td>
 +
</tr>}}
 
<!-- End REFERENCES -->
 
<!-- End REFERENCES -->
<!-- Begin MIGHT ALSO LIKE  :: This is all contained in  Topic MightLike  :: whole row will disappear driven by parameter in MIGHT ALSO LIKE  -->
+
<!-- Begin MIGHT ALSO LIKE  -->
|-
+
{{#if: {{{3|}}}|<tr><td style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" colspan="2">
| style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" |
+
 
<div style="border-bottom:1px solid abd5f5; background-color:#ffffa1; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">Might Also Like</div>
 
<div style="border-bottom:1px solid abd5f5; background-color:#ffffa1; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">Might Also Like</div>
 
<div style="padding:0.4em 1em 0.3em 1em;">
 
<div style="padding:0.4em 1em 0.3em 1em;">
<!-- PICTURE ON LEFT OF TWO BOX SECTION -->
+
{{Chunk:M16 {{{1}}} Might Also Like}}
{{Chunk: Topic MightLike}}
+
 
+
: The substitution here will include the html and a parameter will control if it appears at all.
+
 
</div>
 
</div>
 +
</td>
 +
</tr>}}
 
<!-- End MIGHT ALSO LIKE -->
 
<!-- End MIGHT ALSO LIKE -->
<!-- Begin ACKNOWLEDGEMENTS :: This is all contained in Topic Acknowledgements  :: whole row will disappear driven by parameter in ACKNOWLEDGEMENTS  -->
+
<!-- Begin ACKNOWLEDGEMENTS  -->
 
{{#if: {{{4|}}}|<tr><td style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" colspan="2">
 
{{#if: {{{4|}}}|<tr><td style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" colspan="2">
 
<div style="border-bottom:1px solid abd5f5; background-color:#ffffbb; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">Acknowledgements</div>
 
<div style="border-bottom:1px solid abd5f5; background-color:#ffffbb; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">Acknowledgements</div>
Line 89: Line 83:
  
 
</includeonly>
 
</includeonly>
<!--      |-------------------------------------------------------------------|      -->
 
 
<!--      |                    Separation Marker                              |      -->
 
 
<!--      |-------------------------------------------------------------------|      -->
 
 
 
__NOTOC__
 
<!-- On a Chapter Head page with an arbitrary name-->
 
<!-- The contents will be a template {{Chapter Head|1|2|3|4|5}} stated that way while we work them out. -->
 
<!-- parameter 1 will be a text string for Chapter_Name -->
 
<!-- parameter 2 will determine if In Preparation shows. Options null|yes -->
 
<!-- parameter 3 will determine if the future template is called. Options null|yes -->
 
<!-- parameter 4 will determine if the Header section shows. Options yes|null -->
 
<!-- parameter 5 will determine if the Footer section shows. Options yes|null -->
 
<!--Begin outer table-->
 
<table cellspacing="0" cellpadding="0" width="100%" style="margin:0em 0em 1em 0em; width:100%; border:1px solid darkmagenta; 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>
 
<div style="padding:1em 1em 1em 1em;">
 
<!--Begin inner table-->
 
<table width="96%" cellspacing="5" cellpadding="2" style="margin:0.5em 2% 0.5em 2%;" border="0">
 
<!--Begin top row FUTURE which can be turned off by entering no parameter-->
 
{{#if: {{{3|}}}|<tr><td colspan="2" >{{future|1.6}}</td></tr>}}
 
<!--Begin second row HEADER which can be turned off by entering no parameter-->
 
{{#if: {{{4|}}}|<tr><td style="vertical-align:top; border:1px solid #abd5f5; background-color: #f1f5fc;" colspan="2">
 
<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;">
 
<!-- PICTURE ON LEFT OF SECTION -->
 
[[Image:documentation_all_together.jpg|border|right]]
 
<!-- Parameter This section is substituted by Name Head -->
 
{{Chunk:M16 {{{1}}} Head}}
 
</div>
 
</td>
 
 
</tr>}}
 
<!--Begin third row TEXT which always appears-->
 
<tr><td style="width:65%; 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;">Chapter Commentary</div>
 
{{Chunk:M16 {{{1}}} Commentary}}
 
</div>
 
<td style="width:35%; vertical-align:top; border:1px solid Gold; background-color:lightyellow;">
 
<div style="border-bottom:1px solid #Gold; background-color:#d0e5f5; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">Contents</div>
 
{{Chunk:M16 {{{1}}} Menu}}
 
</div>
 
</td>
 
 
</tr>
 
<!--Begin FOOTER which can be turned off by entering no parameter-->
 
{{#if: {{{5|}}}|<tr><td style="vertical-align:top; border:1px solid Gold; background-color:lightyellow;" colspan="2">
 
<div style="border-bottom:1px solid abd5f5; background-color:#ffffaa; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">Footer Section</div>
 
<div style="padding:0.4em 1em 0.3em 1em;">
 
{{Chunk:M16 {{{1}}} Footer}}
 
</div>
 
</td>
 
</tr>}}
 

Revision as of 12:01, 9 November 2009

{{{1}}}
}}
{{{1}}} Summary.

{{Chunk:M16 {{{1}}} Summary}}

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

{{{1}}} - In Detail

{{Chunk:M16 {{{1}}} Article}}

What Links Here

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.