Template talk:Creation: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
The Creation template now has a map revision variable for using to distinguish which version of the map the creation came from. The map revision numbers are in a info box on each of the servers [[Creative]], [[Survival]], [[Chaos]], and our newest [[Pve]] server. [[Language]] fixed the [[Template:Creation]]. Thanks, --[[User:Admin|DARKSKYNET]] 00:56, 9 January 2011 (CST) | The Creation template now has a map revision variable for using to distinguish which version of the map the creation came from. The map revision numbers are in a info box on each of the servers [[Creative]], [[Survival]], [[Chaos]], and our newest [[Pve]] server. [[Language]] fixed the [[Template:Creation]]. Thanks, --[[User:Admin|DARKSKYNET]] 00:56, 9 January 2011 (CST) | ||
== Category fix == | |||
This would fix the problem when people forget <nowiki>[[ ]]</nowiki> from server. | |||
<pre> | |||
| label3 = Map revision | |||
| data3 = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}} | |||
| [[creative]] = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}} | |||
| creative = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}} | |||
| [[survival]] = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}} | |||
| survival = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}} | |||
| [[chaos]] = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}} | |||
| chaos = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}} | |||
| [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} | |||
| pve = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} | |||
}}</pre> | |||
I'm not sure if this will work. But the intend is to but all creations that are using this template wrong in same category. | |||
<pre> | |||
{{#ifeq: {{NAMESPACE}} | Template | | {{#switch: {{lc:{{{server|}}}}} | |||
| [[creative]] = {{#if: {{{map revision|}}} | [[Category:Creative creations (map revision {{{map revision}}})]] | [[Category:Creative creations (unknown map revision)]]}} | |||
| creative = {{#if: {{{map revision|}}} | [[Category:Creative creations (map revision {{{map revision}}})]] | [[Category:Creative creations (unknown map revision)]]}} | |||
| [[survival]] = {{#if: {{{map revision|}}} | [[Category:Survival creations (map revision {{{map revision}}})]] | [[Category:Survival creations (unknown map revision)]]}} | |||
| survival = {{#if: {{{map revision|}}} | [[Category:Survival creations (map revision {{{map revision}}})]] | [[Category:Survival creations (unknown map revision)]]}} | |||
| [[pve]] = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}} | |||
| pve = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}} | |||
| [[chaos]] = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}} | |||
| chaos = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}} | |||
| #default = [[Category:Unknown creations]] | |||
}} | |||
</pre> | |||
[[User:Purine|Purine]] 05:06, 3 March 2012 (CST) |
Latest revision as of 11:06, 3 March 2012
Deleted?
I think it would be a good idea to add a "Deleted" variable to the infobox. This would be used for works that are deleted (as happens during a map reset, for example). --ElForko 23:53, 8 January 2011 (CST)
-=-=-=-
The Creation template now has a map revision variable for using to distinguish which version of the map the creation came from. The map revision numbers are in a info box on each of the servers Creative, Survival, Chaos, and our newest Pve server. Language fixed the Template:Creation. Thanks, --DARKSKYNET 00:56, 9 January 2011 (CST)
Category fix
This would fix the problem when people forget [[ ]] from server.
| label3 = Map revision | data3 = {{{map revision|}}} {{#switch: {{lc:{{{server|}}}}} | [[creative]] = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}} | creative = {{#ifeq: {{{map revision|}}} | {{Current Creative map revision}} | (current)}} | [[survival]] = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}} | survival = {{#ifeq: {{{map revision|}}} | {{Current Survival map revision}} | (current)}} | [[chaos]] = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}} | chaos = {{#ifeq: {{{map revision|}}} | {{Current Chaos map revision}} | (current)}} | [[pve]] = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} | pve = {{#ifeq: {{{map revision|}}} | {{Current PvE map revision}} | (current)}} }}
I'm not sure if this will work. But the intend is to but all creations that are using this template wrong in same category.
{{#ifeq: {{NAMESPACE}} | Template | | {{#switch: {{lc:{{{server|}}}}} | [[creative]] = {{#if: {{{map revision|}}} | [[Category:Creative creations (map revision {{{map revision}}})]] | [[Category:Creative creations (unknown map revision)]]}} | creative = {{#if: {{{map revision|}}} | [[Category:Creative creations (map revision {{{map revision}}})]] | [[Category:Creative creations (unknown map revision)]]}} | [[survival]] = {{#if: {{{map revision|}}} | [[Category:Survival creations (map revision {{{map revision}}})]] | [[Category:Survival creations (unknown map revision)]]}} | survival = {{#if: {{{map revision|}}} | [[Category:Survival creations (map revision {{{map revision}}})]] | [[Category:Survival creations (unknown map revision)]]}} | [[pve]] = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}} | pve = {{#if: {{{map revision|}}} | [[Category:PvE creations (map revision {{{map revision}}})]] | [[Category:PvE creations (unknown map revision)]]}} | [[chaos]] = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}} | chaos = {{#if: {{{map revision|}}} | [[Category:Chaos creations (map revision {{{map revision}}})]] | [[Category:Chaos creations (unknown map revision)]]}} | #default = [[Category:Unknown creations]] }}
Purine 05:06, 3 March 2012 (CST)