This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revisionBoth sides next revision |
| playground:richb:playground [2022/09/08 11:23] – Add narrative richb-hanover | playground:richb:playground [2022/09/08 11:25] – richb-hanover |
|---|
| ====== Looking for a "variable" facility ====== | ====== Looking for a "variable" facility ====== |
| |
| The tabbox below has a parameter ("Model=wrt3200acm") that occurs multiple times. (Check the source.) | The sample tabbox below has a parameter ("Model=wrt3200acm") that occurs multiple times. (Check the source.) |
| |
| 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: | 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: |
| |
| Is there a "variable" facility in Dokuwiki that will provide this? Thanks. | Is there a "variable" facility in Dokuwiki that will provide this? Thanks. |
| | |
| | |
| | ---- |
| | ===== Sample Tabbox ===== |
| | |
| |
| <WRAP> | <WRAP> |