User:DoubleYou/Sandbox: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 9: Line 9:
}
}


.fomod ul li ul li ol li i{
.fomod li li ol li ol li {
font-style: normal;
background-color: inherit;
border-color: inherit;
border-radius: inherit;
color: inherit;
float: inherit;
margin-top: inherit;
padding: inherit;
}
}


.fomod ul li ul li ol li i:before {
.fomod li li ol li:before {
content: "☑ ";
content: '◉ '
}
}


.fomod ul li ul li ol li i i{
.fomod li li ol li ol li:before {
font-style: italic;
content: '☑ '
}
}


.fomod ul li ul li ol li i i:before {
.fomod li li ol li ol li ol li:before {
content: none;
content: ''
}
 
.fomod ul li ul li ol li b{
font-weight: normal;
}
 
.fomod ul li ul li ol li b:before {
content: "";
}
 
.fomod ul li ul li ol li b b{
font-weight: bold;
}
 
.fomod ul li ul li ol li b b:before {
content: none;
}
 
.fomod ul li ul li ul li i{
font-style: normal;
}
 
.fomod ul li ul li ul li i:before {
content: "◉ ";
}
 
.fomod ul li ul li ul li i i{
font-style: italic;
}
 
.fomod ul li ul li ul li i i:before {
content: none;
}
}
}}
}}


==Hijacking bold and italics to make radio buttons, checked boxes, and unchecked boxes==
'''Code:'''
'''Code:'''


Line 64: Line 37:
*Page
*Page
**Option
**Option
**#''Checked Choice''
***No bullet, checkmark, or unchecked box
**Option
**#Radio Choice
***''Radio Choice''
**##Checked Choice
**Option
**###Unchecked Choice
**#'''Unchecked Choice'''
****Install}}</pre>
****Install}}</pre>


'''Result:'''
'''Result:'''
{{Fomod|
{{Fomod|
*Page
*Page
**Option
**Option
**#''Checked Choice''
***No bullet, checkmark, or unchecked box
**Option
**#Radio Choice
***''Radio Choice''
**##Checked Choice
**Option
**###Unchecked Choice
**#'''Unchecked Choice'''
****Install}}
 
==Current syntax==
 
'''Code:'''
 
<pre>{{Fomod|
*Page
**Option
***☑ Checked Choice
**Option
***◉ Radio Choice
**Option
***☐ Unchecked Choice
****Install}}</pre>
 
'''Result:'''
 
{{Fomod|
*Page
**Option
***☑ Checked Choice
**Option
***◉ Radio Choice
**Option
***☐ Unchecked Choice
****Install}}
****Install}}

Revision as of 23:38, January 3, 2021

{{#css: .fomod ol { list-style: none; margin: 0; padding: 0; }

.fomod li li ol li ol li { background-color: inherit; border-color: inherit; border-radius: inherit; color: inherit; float: inherit; margin-top: inherit; padding: inherit; }

.fomod li li ol li:before { content: '◉ ' }

.fomod li li ol li ol li:before { content: '☑ ' }

.fomod li li ol li ol li ol li:before { content: '☐ ' } }}

Code:

{{Fomod|
*Page
**Option
***No bullet, checkmark, or unchecked box
**#Radio Choice
**##Checked Choice
**###Unchecked Choice
****Install}}

Result:

FOMOD Instructions
  • Page
    • Option
      • No bullet, checkmark, or unchecked box
      1. Radio Choice
        1. Checked Choice
          1. Unchecked Choice
        • Install