Difference between revisions of "Template:PR"

From Paradise Station Wiki
Jump to navigation Jump to search
(Create Template)
 
m (replaced: | style=" → |style = " (17))
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| style="border: 1px solid #FFDD66; margin: 1em 0em;" cellspacing="0" cellpadding=4 width="800"
{| style="border: 1px solid #FF66DD; margin: 1em 0em;" cellspacing="0" cellpadding=4 width="800"
| style="background-color: #FFDD66;" align="center" colspan="2" | '''{{{title|Title}}}'''
|style = "background-color: #FF66DD;" align="center" colspan="2" | '''{{{title|Title}}}'''
|-
|-
| style="background-color: #FFEE88;" width="120" | '''PR Number'''
|style = "background-color: #FF88EE;" width="120" | '''PR Number'''
| {{{formula|Undefined.}}}
| {{{prnum|Undefined.}}}
|-
|style = "background-color: #FF88EE;" width="120" | '''Link'''
| {{{link|Undefined.}}}
|-
|style = "background-color: #FF88EE;" width="120" | '''Author'''
| {{{auth|Undefined.}}}
{{#if: {{{fileschanged|}}}|
{{#if: {{{fileschanged|}}}|
{{!}}- style="background-color: #F7F7F7;"
{{!}}- style="background-color: #F7F7F7;"
{{!}} style="background-color: #FFEE88;" {{!}} '''Files Changed'''
{{!}} style="background-color: #FF88EE;" {{!}} '''Files Changed'''
{{!}} {{{fileschanged}}}
{{!}} {{{fileschanged}}}
}}
}}
|- style="background-color: #{{#if:{{{fileschanged|}}}|FFFFFF|F7F7F7}};"
|- style="background-color: #{{#if:{{{fileschanged|}}}|FFFFFF|F7F7F7}};"
| style="background-color: #FFEE88;" | '''Description'''
{{#if: {{{status|}}}|
{{!}}- style="background-color: #13C3CC;"
{{!}} style="background-color: #1373CC;" {{!}} '''Status'''
{{!}} {{{status}}}
}}
|- style="background-color: #{{#if:{{{status|}}}|FFFFFF|F7F7F7}};"
|style = "background-color: #FF88EE;" | '''Description'''
| {{{desc|Undefined.}}}
| {{{desc|Undefined.}}}
|}
|}


<noinclude>
<noinclude>
Example:
{{PR
{{PR
| title = Change GIbbah
|title = Change GIbbah
| prnum = #405
|prnum = #405
| effects = kills cats.
|desc = kills cats.
|link = github.com/blablabla
|auth = tigah
}}
}}
<code>
<nowiki> {{PR </nowiki>
<nowiki> | title = Change GIbbah </nowiki>
<nowiki> | prnum = #405 </nowiki>
<nowiki> | desc = kills cats. </nowiki>
<nowiki> | auth = tigah </nowiki>
<nowiki | link = github.com/blablabla>
<nowiki> }} </nowiki>
</code>
Adv Example:
{{PR
|title = Change GIbbah
|prnum = #405
|desc = kills cats.
|auth = tigah
|link = github.com/linkylink
|fileschanged = File.dm, Filefile.dm
|status = nonexistant
}}
<code>
<nowiki> {{PR </nowiki>
<nowiki> | title = Change GIbbah </nowiki>
<nowiki> | prnum = #405 </nowiki>
<nowiki> | desc = kills cats. </nowiki>
<nowiki> | auth = tigah </nowiki>
<nowiki> | link = github.com/linkylink </nowiki>
<nowiki> | fileschanged = File.dm, Filefile.dm </nowiki>
<nowiki> | status = nonexistant </nowiki>
<nowiki> }} </nowiki>
</code>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:37, 8 July 2021

Title
PR Number Undefined.
Link Undefined.
Author Undefined.
Description Undefined.


Example:

Change GIbbah
PR Number #405
Link github.com/blablabla
Author tigah
Description kills cats.


{{PR

| title = Change GIbbah

| prnum = #405

| desc = kills cats.

| auth = tigah

<nowiki> }}

Adv Example:

Change GIbbah
PR Number #405
Link github.com/linkylink
Author tigah
Files Changed File.dm, Filefile.dm
Status nonexistant
Description kills cats.


{{PR

| title = Change GIbbah

| prnum = #405

| desc = kills cats.

| auth = tigah

| link = github.com/linkylink

| fileschanged = File.dm, Filefile.dm

| status = nonexistant

}}