Project Rebearth
Menu
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Search
What links here
Related changes
Page information
Recent changes
Help
Not logged in
Talk
Contributions
Create account
Log in
Actions
Template
Discussion
Edit
View history
Template
Editing
Code
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<includeonly><templatestyles src="Code/styles.css" /><code class="rb-code">{{{1}}}</code></includeonly><noinclude> == Code == Renders inline text in a styled monospace box, used for config keys, flag names, variable names, and other technical identifiers. == Usage == <pre> {{Code|taxation}} {{Code|intensiveFarming}} {{Code|house_1}} </pre> == Parameters == {| class="wikitable" |- ! Parameter !! Required !! Description |- | <code>1</code> || Yes || The text to display as inline code. |} == Examples == {| class="wikitable" |- ! Wikitext !! Description |- | <code><nowiki>{{Code|taxation}}</nowiki></code> || Config flag name |- | <code><nowiki>{{Code|house_1}}</nowiki></code> || Building config key |- | <code><nowiki>{{Code|vegan: true}}</nowiki></code> || Flag value |- | <code><nowiki>{{Code|allProduction}}</nowiki></code> || Effect type identifier |} == Notes == * Uses the HTML <code><code></code> element with custom styling. * Designed for short inline snippets — not for multi-line code blocks. * Colors match the wiki's warm brown palette: dark brown text on a light cream/gold background. * Monospace font stack prioritizes modern coding fonts (Cascadia Code, Fira Code, JetBrains Mono) with Consolas as fallback. [[Category:Formatting templates]] </noinclude>
Summary:
Please note that all contributions to Project Rebearth may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project Rebearth:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)