User:Johan G/Template:Informative template with preloaded text: Difference between revisions

Jump to navigation Jump to search
m
fix: - "-" to trigger an if statement for debugging
(Created page with "<!-- THIS IS HIGHLY EXPERIMENTAL The main purpose (currently) is to see * If it is feasible to make a documentation template that allow for * One click loading of a new pa...")
 
m (fix: - "-" to trigger an if statement for debugging)
Line 16: Line 16:
</noinclude><includeonly>
</noinclude><includeonly>
<div class="sjabdocnoot" style="color:grey; text-align:center; margin-top:1em;"><small>'''The following template description is not displayed when the template is inserted in an article.'''</small></div>
<div class="sjabdocnoot" style="color:grey; text-align:center; margin-top:1em;"><small>'''The following template description is not displayed when the template is inserted in an article.'''</small></div>
{{#if: {{{1|{{{content|-}}}}}} <!-- Is both 1= and content= empty? -->
{{#if: {{{1|{{{content|}}}}}} <!-- Is both 1= and content= empty? -->
   | <!-- Yes, at least one of them is there. -->
   | <!-- Yes, at least one of them is there. -->
<div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%;">
<div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%;">

Navigation menu