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

From FlightGear wiki
Jump to navigation Jump to search
(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%;">

Revision as of 17:12, 22 June 2019

This template is a draft on a userpage.

See also comments in the source
Please suggest changes to this draft on the discussion page.


The following template description is not displayed when the template is inserted in an article.