Difference between revisions of "Template:BtArticle"
Jump to navigation
Jump to search
BITPlan brainteaser {{{issue|}}} 2017-11
(5 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 helpfull | + | {{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 helpfull | + | {{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 22: | Line 22: | ||
<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> {{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}}
brainteaser 00
breinti:zer - a mentally challenging problem or puzzle