Template:Property Link

From Dungeons and Dragons Wiki
Revision as of 16:55, 27 September 2009 by ClaytonQuintero (talk | contribs) (Created page with '<includeonly>{{#if: {{{3|}}} |[[{{{2}}}{{!}}{{{3}}}]]{{#set:{{{1}}}={{{3}}}}}|[[{{{2}}}]]{{#set:{{{1}}}={{{2}}}}}}}</includeonly><noinclude> {{documentation}}</noinclude>')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)

This template is used when you want to set a property, and also allow it to be a link to some other page. It takes either two or three arguments, depending on how you want the link to show up.

{{Property Link|Foo|PageBar}} will result in the property "Foo" being set to value "PageBar", and a link to "PageBar" will be displayed on the page.

{{Property Link|Foo|PageBar|LinkText}} will result in the property "Foo" being set to value "LinkText", and a link to "PageBar" will be displayed in the page with text "LinkText".