틀:세계창조/지도: 두 판 사이의 차이
백괴게임>Comjun04 편집 요약 없음 |
백괴게임>Comjun04 편집 요약 없음 |
||
(같은 사용자의 중간 판 78개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
{| | {{#ifeq:{{{서버|}}}||잘못된 접근입니다. | ||
class="wikitable" | |{{#ifanon:비회원은 데이터 로드가 불가능합니다. | ||
| | |{{#vardefine:player_x_old|{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|player_x}}}}{{#vardefine:player_y_old|{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|player_y}}}} | ||
| | {{#if:{{CGI2|변수=player_x}}|{{#vardefine:player_x|{{CGI2|변수=player_x}}}}|{{#vardefine:player_x|{{#var:player_x_old}}}}}} | ||
{{#if:{{CGI2|변수=player_y}}|{{#vardefine:player_y|{{CGI2|변수=player_y}}}}|{{#vardefine:player_y|{{#var:player_y_old}}}}}} | |||
{{#vardefine:grass|<div class="tile_grass" style="display: inline-block; width: 30px; height: 30px; border: 1px solid #000; background-color: green;">}} | |||
{{#vardefine:blank|<div style="display: inline-block; width: 30px; height: 30px; border: 1px solid #000;">}} | |||
{{#css: | |||
div.tile_grass | |||
{ | |||
background-color: green; | |||
} | |||
}}<!-- | |||
{| class="wikitable" | |||
!class={{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-2_2}}|... | |||
!{{#var:tile_1_1}}|... | |||
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=0_2}}}}"|... | |||
!id="tile_1_4"|... | |||
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=2_2}}}}"|... | |||
|- | |||
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-2_1}}}}"|. | |||
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-1_1}}}}"|. | |||
|} | |} | ||
{| class="wikitable" | |||
!style="background-color: green"|test | |||
|- | |||
!style="background-color: {{#var:{{:세계창조/서버/{{{서버}}}/DB/USERNAME|map|xy=-2_1}}}}"|test" | |||
|} --> | |||
<div style="display: block;"> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}} + 2}}}}}}.</div> | |||
<div style="display: block;"> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}} + 1}}}}}}.</div> | |||
<div style="display: block;"> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}}}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}}}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}}}}}}}}[[너]]</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}}}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}}}}}}}}.</div> | |||
<div style="display: block;"> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}} - 1}}}}}}.</div> | |||
<div style="display: block;"> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 2}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} - 1}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}}}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 1}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div> | |||
{{#var:{{:세계창조/서버/{{{서버}}}/DB/{{USERNAME}}|map|xy={{#expr:{{#var:player_x}} + 2}}_{{#expr:{{#var:player_y}} - 2}}}}}}.</div> | |||
</div> | |||
}}}} | |||
[[분류:세계창조]] |
2018년 9월 12일 (수) 19:13 기준 최신판
잘못된 접근입니다.