Difference between revisions of "Template:Portal toolbox/doc"

From blackwiki
Jump to navigation Jump to search
test>Andrybak
m (→‎top: wording)
test>Andrybak
(→‎Usage: explain that Module:Portal toolbox supports arbitrary amount of parameters)
Line 6: Line 6:
  
 
== Usage ==
 
== Usage ==
Place the following on portal's talk page.
+
Place the following on portal's talk page. Arbitrary amount of numbered parameters with prefixes <code>static</code>, <code>dynamic</code>, <code>template</code>, and <code>other</code> can be passed.
 
<syntaxhighlight lang="moin">
 
<syntaxhighlight lang="moin">
 
{{Portal toolbox
 
{{Portal toolbox
Line 15: Line 15:
 
|dynamic2 =  
 
|dynamic2 =  
 
|dynamic3 =  
 
|dynamic3 =  
 +
|dynamic42 =
 
|template1 =  
 
|template1 =  
 
|template2 =  
 
|template2 =  
 
|template3 =  
 
|template3 =  
 +
|template100 =
 
|other1 =  
 
|other1 =  
 
|other1text =  
 
|other1text =  

Revision as of 15:43, 12 July 2020

This template helps organize links to subpages and other components of portals.

Usage

Place the following on portal's talk page. Arbitrary amount of numbered parameters with prefixes static, dynamic, template, and other can be passed.

{{Portal toolbox
|static1 = 
|static2 = 
|static3 = 
|dynamic1 = 
|dynamic2 = 
|dynamic3 = 
|dynamic42 = 
|template1 = 
|template2 = 
|template3 = 
|template100 = 
|other1 = 
|other1text = 
|other2 = 
|other2right = 
|other3 = 
}}