Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
playground:richb:playground [2022/09/08 01:55] richb-hanoverplayground:richb:playground [2022/09/08 11:25] richb-hanover
Line 1: Line 1:
 +====== Looking for a "variable" facility ======
  
 +The sample tabbox below has a parameter ("Model=wrt3200acm") that occurs multiple times. (Check the source.)
  
-<WRAP 80%>+I would like to "parameterize" it, so that I could declare something like ''MODEL="wrt3200acm"'' (to use bash syntax) and then use ''filter : Model=$MODEL'' for each of the five copies. As a further step, I would place the entire %%<WRAP>%% in an %%{{include}}%% so that individual pages could say something like: 
 + 
 +<code> 
 +MODEL="wrt3200acm" 
 +{{page>name-of-the-tabbox}} 
 +</code> 
 + 
 +Is there a "variable" facility in Dokuwiki that will provide this? Thanks. 
 + 
 + 
 +---- 
 +===== Sample Tabbox ===== 
 + 
 + 
 +<WRAP>
 <tabbox Hardware highlights> <tabbox Hardware highlights>
 ---- datatable ---- ---- datatable ----
  • Last modified: 2022/09/08 13:08
  • by richb-hanover