Difference between revisions of "Template:BtArticle"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <noinclude>This is a template for brainteaser articles</noinclude><includeonly> | + | <noinclude>This is a template for brainteaser articles |
+ | = usage = | ||
+ | <pre> | ||
+ | {{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. | ||
+ | }} | ||
+ | </pre> | ||
+ | {{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. | ||
+ | }}</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:47, 31 October 2017
This is a template for brainteaser articles
usage
{{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. }}