Difference between revisions of "Template:BtArticle"

From BITPlan Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<pre>
 
<pre>
 
{{BrainteaserFrame|Header|issue=00}}
 
{{BrainteaserFrame|Header|issue=00}}
{{BtArticle|title=Wiki Templates are helful
+
{{BtArticle|title=Wiki Templates are helpfull|link=Template:BtArticle
 
|text=With wiki template content and presentation can be nicely separated. All you need to do is
 
|text=With wiki template content and presentation can be nicely separated. All you need to do is
 
use a template and specify the details. E.g. this article has the title "Wiki Templates are helpful" and the
 
use a template and specify the details. E.g. this article has the title "Wiki Templates are helpful" and the
Line 12: Line 12:
 
</pre>
 
</pre>
 
{{BrainteaserFrame|Header|issue=00}}
 
{{BrainteaserFrame|Header|issue=00}}
{{BtArticle|title=Wiki Templates are helful
+
{{BtArticle|title=Wiki Templates are helpfull|link=Template:BtArticle
 
|text=With wiki template content and presentation can be nicely separated. All you need to do is
 
|text=With wiki template content and presentation can be nicely separated. All you need to do is
 
use a template and specify the details. E.g. this article has the title "Wiki Templates are helpful" and the
 
use a template and specify the details. E.g. this article has the title "Wiki Templates are helpful" and the
Line 18: Line 18:
 
voila - you see this article presented with the CSS styled by the {{Link|target=Template:BrainteaserFrame}} template.
 
voila - you see this article presented with the CSS styled by the {{Link|target=Template:BrainteaserFrame}} template.
 
}}
 
}}
{{BrainteaserFrame|Footer}}</noinclude><includeonly>
+
{{BrainteaserFrame|Footer}}</noinclude>
 +
<includeonly>
 
<div class='brainteaser'>
 
<div class='brainteaser'>
 
   <div class='btheadline'>{{{title|}}}</div>
 
   <div class='btheadline'>{{{title|}}}</div>
   <div class='btcontent'>{{{text|}}}</div>
+
   <div class='btcontent'>{{{text|}}}{{#if:{{{link|}}}|<br>&nbsp;{{Link|target={{{link|}}}|title=➙{{{link|}}}}}}}</div>
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 09:09, 4 November 2017

This is a template for brainteaser articles

usage

{{BrainteaserFrame|Header|issue=00}}
{{BtArticle|title=Wiki Templates are helpfull|link=Template:BtArticle
|text=With wiki template content and presentation can be nicely separated. All you need to do is
use a template and specify the details. E.g. this article has the title "Wiki Templates are helpful" and the
text you are just reading. So the title parameter is set to "Wiki Templates are helpful" and the text parameter to this text. And
voila - you see this article presented with the CSS styled by the {{Link|target=Template:BrainteaserFrame}} template.
}}
{{BrainteaserFrame|Footer}}


BITPlan brainteaser {{{issue|}}} 2017-11

BITPlan Logo

brainteaser 00


breinti:zer - a mentally challenging problem or puzzle


Wiki Templates are helpfull
With wiki template content and presentation can be nicely separated. All you need to do is

use a template and specify the details. E.g. this article has the title "Wiki Templates are helpful" and the text you are just reading. So the title parameter is set to "Wiki Templates are helpful" and the text parameter to this text. And

voila - you see this article presented with the CSS styled by the Template:BrainteaserFrame template.
 ➙Template:BtArticle