Template:CR
Usage
Template:CR accepts either a code index or title to transclude. Either of the two following examples should produce the same output, unless a rules update after this edit shifts the numerical indexing within the Comprehensive Rules. Because of that possibility, using the title of a rules section is recommended where possible.
{{CR|lookup=Ending the Game}}
{{CR|lookup=104}}
Result:
From the Comprehensive Rules (June 7, 2024—Modern Horizons 3)
- 104. Ending the Game
- 104.1. A game ends immediately when a player wins, when the game is a draw, or when the game is restarted.
- 104.2. There are several ways to win the game.
- 104.2a A player still in the game wins the game if that player’s opponents have all left the game. This happens immediately and overrides all effects that would preclude that player from winning the game.
- 104.2b An effect may state that a player wins the game.
- 104.2c In a multiplayer game between teams, a team with at least one player still in the game wins the game if all other teams have left the game. Each player on the winning team wins the game, even if one or more of those players had previously lost that game.
- 104.2d In an Emperor game, a team wins the game if its emperor wins the game. (See rule 809.5.)
- 104.3. There are several ways to lose the game.
- 104.3a A player can concede the game at any time. A player who concedes leaves the game immediately. That player loses the game.
- 104.3b If a player’s life total is 0 or less, that player loses the game the next time a player would receive priority. (This is a state-based action. See rule 704.)
- 104.3c If a player is required to draw more cards than are left in their library, they draw the remaining cards and then lose the game the next time a player would receive priority. (This is a state-based action. See rule 704.)
- 104.3d If a player has ten or more poison counters, that player loses the game the next time a player would receive priority. (This is a state-based action. See rule 704.)
- 104.3e An effect may state that a player loses the game.
- 104.3f If a player would both win and lose the game simultaneously, that player loses the game.
- 104.3g In a multiplayer game between teams, a team loses the game if all players on that team have lost the game.
- 104.3h In a multiplayer game using the limited range of influence option (see rule 801), an effect that states that a player wins the game instead causes all of that player’s opponents within the player’s range of influence to lose the game. This may not cause the game to end.
- 104.3i In an Emperor game, a team loses the game if its emperor loses the game. (See rule 809.5.)
- 104.3j In a Commander game, a player who’s been dealt 21 or more combat damage by the same commander over the course of the game loses the game. (This is a state-based action. See rule 704. See also rule 903.10.)
- 104.3k In a tournament, a player may lose the game as a result of a penalty given by a judge. See rule 100.6.
- 104.4. There are several ways for the game to be a draw.
- 104.4a If all the players remaining in a game lose simultaneously, the game is a draw.
- 104.4b If a game that’s not using the limited range of influence option (including a two-player game) somehow enters a “loop” of mandatory actions, repeating a sequence of events with no way to stop, the game is a draw. Loops that contain an optional action don’t result in a draw.
- 104.4c An effect may state that the game is a draw.
- 104.4d In a multiplayer game between teams, the game is a draw if all remaining teams lose simultaneously.
- 104.4e In a multiplayer game using the limited range of influence option, the effect of a spell or ability that states that the game is a draw causes the game to be a draw for that spell or ability’s controller and all players within their range of influence. Only those players leave the game; the game continues for all other players.
- 104.4f In a multiplayer game using the limited range of influence option, if the game somehow enters a “loop” of mandatory actions, repeating a sequence of events with no way to stop, the game is a draw for each player who controls an object that’s involved in that loop, as well as for each player within the range of influence of any of those players. Only those players leave the game; the game continues for all other players.
- 104.4g In a multiplayer game between teams, the game is a draw for a team if the game is a draw for all remaining players on that team.
- 104.4h In the Emperor variant, the game is a draw for a team if the game is a draw for its emperor. (See rule 809.5.)
- 104.4i In a tournament, all players in the game may agree to an intentional draw. See rule 100.6.
- 104.5. If a player loses the game, that player leaves the game. If the game is a draw for a player, that player leaves the game. The multiplayer rules handle what happens when a player leaves the game; see rule 800.4.
- 104.6. One card (Karn Liberated) restarts the game. All players still in the game when it restarts then immediately begin a new game. See rule 724, “Restarting the Game.”
Result:
From the Comprehensive Rules (June 7, 2024—Modern Horizons 3)
- 104. Ending the Game
- 104.1. A game ends immediately when a player wins, when the game is a draw, or when the game is restarted.
- 104.2. There are several ways to win the game.
- 104.2a A player still in the game wins the game if that player’s opponents have all left the game. This happens immediately and overrides all effects that would preclude that player from winning the game.
- 104.2b An effect may state that a player wins the game.
- 104.2c In a multiplayer game between teams, a team with at least one player still in the game wins the game if all other teams have left the game. Each player on the winning team wins the game, even if one or more of those players had previously lost that game.
- 104.2d In an Emperor game, a team wins the game if its emperor wins the game. (See rule 809.5.)
- 104.3. There are several ways to lose the game.
- 104.3a A player can concede the game at any time. A player who concedes leaves the game immediately. That player loses the game.
- 104.3b If a player’s life total is 0 or less, that player loses the game the next time a player would receive priority. (This is a state-based action. See rule 704.)
- 104.3c If a player is required to draw more cards than are left in their library, they draw the remaining cards and then lose the game the next time a player would receive priority. (This is a state-based action. See rule 704.)
- 104.3d If a player has ten or more poison counters, that player loses the game the next time a player would receive priority. (This is a state-based action. See rule 704.)
- 104.3e An effect may state that a player loses the game.
- 104.3f If a player would both win and lose the game simultaneously, that player loses the game.
- 104.3g In a multiplayer game between teams, a team loses the game if all players on that team have lost the game.
- 104.3h In a multiplayer game using the limited range of influence option (see rule 801), an effect that states that a player wins the game instead causes all of that player’s opponents within the player’s range of influence to lose the game. This may not cause the game to end.
- 104.3i In an Emperor game, a team loses the game if its emperor loses the game. (See rule 809.5.)
- 104.3j In a Commander game, a player who’s been dealt 21 or more combat damage by the same commander over the course of the game loses the game. (This is a state-based action. See rule 704. See also rule 903.10.)
- 104.3k In a tournament, a player may lose the game as a result of a penalty given by a judge. See rule 100.6.
- 104.4. There are several ways for the game to be a draw.
- 104.4a If all the players remaining in a game lose simultaneously, the game is a draw.
- 104.4b If a game that’s not using the limited range of influence option (including a two-player game) somehow enters a “loop” of mandatory actions, repeating a sequence of events with no way to stop, the game is a draw. Loops that contain an optional action don’t result in a draw.
- 104.4c An effect may state that the game is a draw.
- 104.4d In a multiplayer game between teams, the game is a draw if all remaining teams lose simultaneously.
- 104.4e In a multiplayer game using the limited range of influence option, the effect of a spell or ability that states that the game is a draw causes the game to be a draw for that spell or ability’s controller and all players within their range of influence. Only those players leave the game; the game continues for all other players.
- 104.4f In a multiplayer game using the limited range of influence option, if the game somehow enters a “loop” of mandatory actions, repeating a sequence of events with no way to stop, the game is a draw for each player who controls an object that’s involved in that loop, as well as for each player within the range of influence of any of those players. Only those players leave the game; the game continues for all other players.
- 104.4g In a multiplayer game between teams, the game is a draw for a team if the game is a draw for all remaining players on that team.
- 104.4h In the Emperor variant, the game is a draw for a team if the game is a draw for its emperor. (See rule 809.5.)
- 104.4i In a tournament, all players in the game may agree to an intentional draw. See rule 100.6.
- 104.5. If a player loses the game, that player leaves the game. If the game is a draw for a player, that player leaves the game. The multiplayer rules handle what happens when a player leaves the game; see rule 800.4.
- 104.6. One card (Karn Liberated) restarts the game. All players still in the game when it restarts then immediately begin a new game. See rule 724, “Restarting the Game.”
In addition, Template:CR allows two optional parameters for cases where additional granularity is required. By their nature, use of optional parameters requires the use of indices, not titles.
toc
limits the transcluded text to one level of nesting within the rules, appropriate for making a table of contents or giving an overview.
- Wikitext:
{{CR|toc=true|lookup=8}}
Result:
From the Comprehensive Rules (June 7, 2024—Modern Horizons 3)
- 8. Multiplayer Rules
- 800. General
- 801. Limited Range of Influence Option
- 802. Attack Multiple Players Option
- 803. Attack Left and Attack Right Options
- 804. Deploy Creatures Option
- 805. Shared Team Turns Option
- 806. Free-for-All Variant
- 807. Grand Melee Variant
- 808. Team vs. Team Variant
- 809. Emperor Variant
- 810. Two-Headed Giant Variant
- 811. Alternating Teams Variant
exact
limits the transluded text to only the index specified, without any nested subsections.
- Wikitext:
{{CR|exact=true|lookup=105.2}}
Result:
From the Comprehensive Rules (June 7, 2024—Modern Horizons 3)
- 105.2. An object can be one or more of the five colors, or it can be no color at all. An object is the color or colors of the mana symbols in its mana cost, regardless of the color of its frame. An object’s color or colors may also be defined by a color indicator or a characteristic-defining ability. See rule 202.2.