Template:BSLvarinfo: Difference between revisions

removing mention of XEB, as it is obsolete
(attempt at a revised, briefer listing; revised docs as well)
(removing mention of XEB, as it is obsolete)
 
Line 11: Line 11:
So if you want to see a variable listing, you transclude the text of the page for that variable. You'll notice that the default value for the variable at the time of level-load will pop up if you hover over the listing.
So if you want to see a variable listing, you transclude the text of the page for that variable. You'll notice that the default value for the variable at the time of level-load will pop up if you hover over the listing.


The '''BSLvarinfo''' template is used on that variable's "personal" page, but even there it's only invoked indirectly by another template. If you click on the link behind the text "chr_all_active" above, then look at the markup for that page, you'll see that the information about a variable is being fed into a template. The end result is the output you see above. A full explanation of the system is at [[BSL:Grouping]], but the main thing you need to know is that you can enter the information about a variable by starting a page in its name, then either pasting in the template below, or clicking on the [[Image:Button_BSL_var.png]] button supplied in the toolbar by [[XEB]] and filling in the fields in the dialog that pops up.
The '''BSLvarinfo''' template is used on that variable's "personal" page, but even there it's only invoked indirectly by another template. If you click on the link behind the text "chr_all_active" above, then look at the markup for that page, you'll see that the information about a variable is being fed into a template. The end result is the output you see above. A full explanation of the system is at [[BSL:Grouping]], but the main thing you need to know is that you can enter the information about a variable by starting a page in its name, then pasting in the template below.


==Parameters==
==Parameters==
Line 27: Line 27:


==Starter text==
==Starter text==
Here is a blank call for the template, to save some time, but you may find it easier to use the GUI for this template that is provided by XEB.
Here is a blank call for the template.


  <nowiki>{{</nowiki>BSLvarinfo
  <nowiki>{{</nowiki>BSLvarinfo