內容簡介
想要在你的 WordPress 安裝中設置自定義角色表格嗎?需要一個標準(或非標準)骰子擲骰應用程式嗎?這個 shortcode 集使添加隨機擲骰到你的頁面變得容易。
除了骰子外,你可以在管理面板中定義列表,例如姓名、職業和位置,使用單個 shortcode 選擇隨機元素。
你想要基於那些結果建立條件邏輯嗎?想根據選定的隨機職業設置技能變量嗎?存儲結果的變量並使用條件邏輯根據需要修改狀態。
包含的 shortcode:
擲骰子:[roller 3d6]
將擲骰結果存儲到變量:[roller 3d6 var=str]
顯示變量值:[roller_var str]
算式:[roller 3d6 var=pow] [roller_exp pow*5 var=san]
隨機列表元素:[roller_choose var=gender list=gender]
條件句:[roller_if gender=Female][roller_choose var=first_name list=first_name_female][/roller_if]
外掛標籤
開發者團隊
原文外掛簡介
Want to set up custom character sheets on your WordPress installation? Need a dice rolling app with standard (or non-standard) dice? This collection of shortcodes makes it easy to add random dice rolls to your page.
In addition to the dice, you can define lists in the administration panel–things like names, professions, and locations–and can choose elements at random using a single shortcode.
And you want to build conditional logic based on those results? Want to set skill variables based on the random profession chosen? Store results in variables and use conditional logic to modify state as you need it.
Shortcodes included:
Roll some dice: [roller 3d6]
Save dice rolls as variables: [roller 3d6 var=str]
Display a variable’s value: [roller_var str]
Equations: [roller 3d6 var=pow] [roller_exp pow*5 var=san]
Random list elements: [roller_choose var=gender list=gender]
Conditionals: [roller_if gender=Female][roller_choose var=first_name list=first_name_female][/roller_if]
