Template:Wikibooks and Template:Wikibooks/sandbox: Difference between pages
(Difference between pages)
Content deleted Content added
PrimeHunter (talk | contribs) only include /{{{2}}} in link if {{{2}}} is non-empty, per talk |
Salix alba (talk | contribs) surrond each argument with trim |
||
Line 3: | Line 3: | ||
| project = wikibooks |
| project = wikibooks |
||
| text = {{#if:{{{2|}}}|The Wikibook ''[[wikibooks:{{trim|{{{1}}}}}|{{trim|{{{1}}}}}]]''|Wikibooks}} has {{#if:{{trim|{{{2|}}}}}|a page|{{#if:{{{1|}}}|a book|more}}}} on the topic of: '''''{{#if: {{{3|}}} |
| text = {{#if:{{{2|}}}|The Wikibook ''[[wikibooks:{{trim|{{{1}}}}}|{{trim|{{{1}}}}}]]''|Wikibooks}} has {{#if:{{trim|{{{2|}}}}}|a page|{{#if:{{{1|}}}|a book|more}}}} on the topic of: '''''{{#if: {{{3|}}} |
||
| <!-- {{#if:x|}} strips whitespace, to prevent spaces around the slash "/". -->[[wikibooks:{{#if:x| {{trim|{{{1}}} }} }} |
| <!-- {{#if:x|}} strips whitespace, to prevent spaces around the slash "/". -->[[wikibooks:{{#if:x| {{trim|{{{1}}} }} }}/{{#if:x| {{trim| {{{2}}} }} }}|{{trim|{{{3}}}}}]] |
||
| {{#if: {{{2|}}} |
| {{#if: {{{2|}}} |
||
| [[wikibooks:{{#if:x| {{trim| {{{1}}} }} }}/{{#if:x| {{trim| {{{2}}} }} }}|{{trim | {{{2}}} }}]] |
| [[wikibooks:{{#if:x| {{trim| {{{1}}} }} }}/{{#if:x| {{trim| {{{2}}} }} }}|{{trim | {{{2}}} }}]] |