Title: Roller
Author: Scott Grant
Published: <strong>2015 年 9 月 9 日</strong>
Last modified: 2015 年 9 月 9 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/roller.svg)

# Roller

 作者：[Scott Grant](https://profiles.wordpress.org/sgrant/)

[下载](https://downloads.wordpress.org/plugin/roller.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/roller/#description)
 * [评价](https://cn.wordpress.org/plugins/roller/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/roller/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/roller/#developers)

 [支持](https://wordpress.org/support/plugin/roller/)

## 描述

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]

## 屏幕截图

 * [[
 * A collection of sample lists defined in the administration panel.

## 安装

Place all the files in a directory inside of wp-content/plugins (for example, roller).
Activate the plugin, and look for the Roller menu in the sidebar.

## 常见问题

  How do I show the result of rolling a single six-sided die?

Use the shortcode [roller 1d6]. The shortcode will be replaced on the page with 
the result. Refreshing the page will cause another roll to occur

  How do I save the roll results in variables?

Use the var attribute. For example, [roller 1d6 var=myroll]. You can recall the 
result by using [roller_var myroll].

## 评价

![](https://secure.gravatar.com/avatar/09da1aca3025e085606f466aeb322e6bb345c78b734a767f22cc9d5f5707d977?
s=60&d=retro&r=g)

### 󠀁[Not Working](https://wordpress.org/support/topic/not-working-1850/)󠁿

 [MaliceDC](https://profiles.wordpress.org/malicedc/) 2016 年 9 月 3 日

Doesn’t Work. every time i make a list and update it, it deletes.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/roller/reviews/)

## 贡献者及开发者

「Roller」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Scott Grant ](https://profiles.wordpress.org/sgrant/)

[帮助将「Roller」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/roller)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/roller/)，查看[SVN仓库](https://plugins.svn.wordpress.org/roller/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/roller/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/roller/)。

## 更新日志

#### 1.0

 * First release!

## 额外信息

 *  版本 **1.0**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/roller/)
 * 标签
 * [dice](https://cn.wordpress.org/plugins/tags/dice/)[rolling](https://cn.wordpress.org/plugins/tags/rolling/)
   [rpg](https://cn.wordpress.org/plugins/tags/rpg/)
 *  [高级视图](https://cn.wordpress.org/plugins/roller/advanced/)

## 评级

 1 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/roller/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/roller/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/roller/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/roller/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/roller/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/roller/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/roller/reviews/)

## 贡献者

 *   [ Scott Grant ](https://profiles.wordpress.org/sgrant/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/roller/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://scotchfield.com)