Difference between revisions of "Template:Documentation"

From BTAWiki
Jump to navigation Jump to search
meta>Verdy p
m (some doc pages need a few parameters (e.g. for feeding categories in their includeonly section, or for the actual template name to document))
meta>Verdy p
m
Line 21: Line 21:
 
| content = {{{content|}}}
 
| content = {{{content|}}}
 
| 1 = {{{1|}}} <!--Other docname, if fed-->
 
| 1 = {{{1|}}} <!--Other docname, if fed-->
| {{#if: {{{2|}}} | 2 | <!--dummy--> }} = {{{2|}}} <!--Other parameters for doc page, if fed-->
+
| {{{ifeq: {{{2|}}} | {{{2|+}}} | 2 | <!-- dummy -->}} = {{{2|}}}<!--some doc pages may have a few optional parameters to change their text, or set template categories in their noinclude section-->
| {{#if: {{{3|}}} | 3 | <!--dummy--> }} = {{{3|}}} <!--Other parameters for doc page, if fed-->
+
| {{{ifeq: {{{3|}}} | {{{3|+}}} | 3 | <!-- dummy -->}} = {{{3|}}}
| {{#if: {{{4|}}} | 4 | <!--dummy--> }} = {{{4|}}} <!--Other parameters for doc page, if fed-->
+
| {{{ifeq: {{{4|}}} | {{{4|+}}} | 4 | <!-- dummy -->}} = {{{4|}}}
 +
| {{{ifeq: {{{5|}}} | {{{5|+}}} | 5 | <!-- dummy -->}} = {{{5|}}}
 
}}<noinclude>
 
}}<noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, not here! ??? -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! ??? -->
 
</noinclude>
 
</noinclude>

Revision as of 04:21, 23 January 2014