Difference between revisions of "Template:BtArticle"
Jump to navigation
Jump to search
BITPlan brainteaser {{{issue|}}} 2017-11
Line 2: | Line 2: | ||
= usage = | = usage = | ||
<pre> | <pre> | ||
+ | {{BrainteaserFrame|Header|issue=00}} | ||
{{BtArticle|title=Wiki Templates are helful | {{BtArticle|title=Wiki Templates are helful | ||
|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 | ||
Line 8: | Line 9: | ||
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}} | ||
</pre> | </pre> | ||
+ | {{BrainteaserFrame|Header|issue=00}} | ||
{{BtArticle|title=Wiki Templates are helful | {{BtArticle|title=Wiki Templates are helful | ||
|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 | ||
Line 14: | Line 17: | ||
text you are just reading. So the title parameter is set to "Wiki Templates are helpful" and the text parameter to this text. And | 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. | voila - you see this article presented with the CSS styled by the {{Link|target=Template:BrainteaserFrame}} template. | ||
− | }}</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|}}}</div> | ||
</div></includeonly> | </div></includeonly> |
Revision as of 14:48, 31 October 2017
This is a template for brainteaser articles
usage
{{BrainteaserFrame|Header|issue=00}} {{BtArticle|title=Wiki Templates are helful |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}}
brainteaser 00
breinti:zer - a mentally challenging problem or puzzle