| r134 vs r135 | ||
|---|---|---|
| ... | ... | |
| 22 | 22 | ##"아카라이브 ○○ 채널 위키"를 인식하는 조건문은 없습니다. |
| 23 | 23 | {{{#!if this.arca=true, this.border="#3d414d", this.도메인="arca.live", wiki_defined = (채널명!=null)&&(채널명!=""), wiki_domain_defined = (슬러그!=null)&&(슬러그!=""), 위키="아카라이브" |
| 24 | 24 | }}}}}}{{{#!if (위키=="위키백과")||(위키=="한위백") |
| 25 | ##미디어위키 | |
| 25 | ##위키백과는 미디어위키 사용 엔진이므로 mediawiki를 true로 바꿉니다. | |
| 26 | 26 | {{{#!if mediawiki=true |
| 27 | 27 | }}}}}}{{{#if (위키==구버전) |
| 28 | 28 | ##the seed 구버전 커스텀 전용. (Imitated Seed 라던지) |
| 29 | 29 | {{{#!if previous=true |
| 30 | 30 | }}}}}}{{{#!if (위키=="커스텀") |
| 31 | ##커스텀일때 custom 값을 true로 | |
| 32 | {{{#!if | |
| 31 | ##커스텀일때 custom 값을 true로 줍니다. | |
| 32 | {{{#!if custom=true | |
| 33 | }}}}}}{{{#!if custom || previous || mediawiki | |
| 34 | ##custom 또는 previous(구버전)이거나 mediawiki의 경우 변수를 추가적으로 정의합니다. | |
| 35 | {{{#!if wiki_defined = (위키이름!=null)&&(위키이름!=""), wiki_domain_defined = (도메인!=null)&&(도메인!=""), wiki_license_defined = (라이선스!=null)&&(라이선스!="") | |
| 33 | 36 | }}}}}} |
| 34 | 37 | ##처음 include했을 때 uuid가 공백이고 UUID가 공백이 아니라고 판별될 경우 uuid에 UUID의 값을 줍니다. |
| 35 | 38 | {{{#!if !(uuid_not_blank)&&UUID_not_blank |
| ... | ... | |
| 57 | 60 | }}}}}}{{{#!if (테두리색==null)||(테두리색=="") |
| 58 | 61 | {{{#!if this.border="#4188f1" |
| 59 | 62 | }}}}}}}}} |
| 63 | ##미디어위키는 uuid가 아닌 index를 적어야 하며 그 index를 uuid 및 version과 호환시킵니다. | |
| 64 | ||
| 60 | 65 | ##uuid 판별식 --evaluate 없나?-- |
| 61 | 66 | {{{#!if uuid_verified = ((uuid[8]==45 && uuid[13]==45 && uuid[18]==45 && uuid[23]==45) && (uuid?.length == 36) && (((uuid[0]>=48) &&(uuid[0]<=57)) || ((uuid[0]>=97)&&(uuid[0]<=102))) && (((uuid[1]>=48) &&(uuid[1]<=57)) || ((uuid[1]>=97)&&(uuid[1]<=102))) && (((uuid[2]>=48) &&(uuid[2]<=57)) || ((uuid[2]>=97)&&(uuid[2]<=102))) && (((uuid[3]>=48) &&(uuid[3]<=57)) || ((uuid[3]>=97)&&(uuid[3]<=102))) && (((uuid[4]>=48) &&(uuid[4]<=57)) || ((uuid[4]>=97)&&(uuid[4]<=102))) && (((uuid[5]>=48) &&(uuid[5]<=57)) || ((uuid[5]>=97)&&(uuid[5]<=102))) && (((uuid[6]>=48) &&(uuid[6]<=57)) || ((uuid[6]>=97)&&(uuid[6]<=102))) && (((uuid[7]>=48) &&(uuid[7]<=57)) || ((uuid[7]>=97)&&(uuid[7]<=102))) && (((uuid[9]>=48) &&(uuid[9]<=57)) || ((uuid[9]>=97)&&(uuid[9]<=102))) && (((uuid[10]>=48) &&(uuid[10]<=57)) || ((uuid[10]>=97)&&(uuid[10]<=102))) && (((uuid[11]>=48) &&(uuid[11]<=57)) || ((uuid[11]>=97)&&(uuid[11]<=102))) && (((uuid[12]>=48) &&(uuid[12]<=57)) || ((uuid[12]>=97)&&(uuid[12]<=102))) && (((uuid[14]>=48) &&(uuid[14]<=57)) || ((uuid[14]>=97)&&(uuid[14]<=102))) && (((uuid[15]>=48) &&(uuid[15]<=57)) || ((uuid[15]>=97)&&(uuid[15]<=102))) && (((uuid[16]>=48) &&(uuid[16]<=57)) || ((uuid[16]>=97)&&(uuid[16]<=102))) && (((uuid[17]>=48) &&(uuid[17]<=57)) || ((uuid[17]>=97)&&(uuid[17]<=102))) && (((uuid[19]>=48) &&(uuid[19]<=57)) || ((uuid[19]>=97)&&(uuid[19]<=102))) && (((uuid[20]>=48) &&(uuid[20]<=57)) || ((uuid[20]>=97)&&(uuid[20]<=102))) && (((uuid[21]>=48) &&(uuid[21]<=57)) || ((uuid[21]>=97)&&(uuid[21]<=102))) && (((uuid[22]>=48) &&(uuid[22]<=57)) || ((uuid[22]>=97)&&(uuid[22]<=102))) && (((uuid[24]>=48) &&(uuid[24]<=57)) || ((uuid[24]>=97)&&(uuid[24]<=102))) && (((uuid[25]>=48) &&(uuid[25]<=57)) || ((uuid[25]>=97)&&(uuid[25]<=102))) && (((uuid[26]>=48) &&(uuid[26]<=57)) || ((uuid[26]>=97)&&(uuid[26]<=102))) && (((uuid[27]>=48) &&(uuid[27]<=57)) || ((uuid[27]>=97)&&(uuid[27]<=102))) && (((uuid[28]>=48) &&(uuid[28]<=57)) || ((uuid[28]>=97)&&(uuid[28]<=102))) && (((uuid[29]>=48) &&(uuid[29]<=57)) || ((uuid[29]>=97)&&(uuid[29]<=102))) && (((uuid[30]>=48) &&(uuid[30]<=57)) || ((uuid[30]>=97)&&(uuid[30]<=102))) && (((uuid[31]>=48) &&(uuid[31]<=57)) || ((uuid[31]>=97)&&(uuid[31]<=102))) && (((uuid[32]>=48) &&(uuid[32]<=57)) || ((uuid[32]>=97)&&(uuid[32]<=102))) && (((uuid[33]>=48) &&(uuid[33]<=57)) || ((uuid[33]>=97)&&(uuid[33]<=102))) && (((uuid[34]>=48) &&(uuid[34]<=57)) || ((uuid[34]>=97)&&(uuid[34]<=102))) && (((uuid[35]>=48) &&(uuid[35]<=57)) || ((uuid[35]>=97)&&(uuid[35]<=102)))) |
| 62 | 67 | }}}{{{#!if inspection = ((위키!=null)&&(위키!="")&&(문서명!=null)&&(문서명!="")&&(버전!=null)&&(버전!="")&&((+버전)>0)) |
| ... | ... | |
| 65 | 70 | }}}{{{#!if (위키==null) |
| 66 | 71 | {{{#orangered 오류! :}}} 가져온 "위키"의 이름을 입력해 주세요. (예 : 위키=더시드위키)[br] |
| 67 | 72 | }}}{{{#!if (위키!=null)&&(!wiki_name_defined||(위키==""))&&(custom==false)&&(arca==false) |
| 68 | {{{#orangered 오류! :}}} 입력한 "위키" 이름이 올바르지 않습니다.[br]}}}{{{#!if custom || mediawiki | |
| 73 | {{{#orangered 오류! :}}} 입력한 "위키" 이름이 올바르지 않습니다.[br]}}}{{{#!if custom || previous || mediawiki | |
| 69 | 74 | {{{#!if !wiki_defined |
| 70 | 75 | {{{#orangered 오류! :}}} 가져온 "위키이름"을 입력해 주세요. (예 : 위키이름 = {{{#!if !mediawiki |
| 71 | 76 | 테스트위키}}}{{{#!if mediawiki |
| ... | ... | |
| 82 | 87 | {{{#orangered 오류! :}}} "문서명"을 입력해 주세요.[br] |
| 83 | 88 | }}}{{{#!if (버전==null)||(버전=="")||((+버전)<=0) |
| 84 | 89 | {{{#orangered 오류! :}}} 가져온 문서의 "버전"(리비전 번호)의 숫자값을 입력해 주세요.[br] |
| 85 | }}}{{{#!if arca | |
| 86 | ##아카라이브 채널위키의 주소에는 UUID를 요구하지 않습니다. | |
| 90 | }}}{{{#!if !arca&&!previous | |
| 91 | ##아카라이브 채널위키의 주소, the seed 구버전에는 UUID를 요구하지 않습니다. | |
| 92 | {{{#!if !mediawiki | |
| 93 | ##mediawiki에는 UUID를 요구하지 않는 대신 index를 요구합니다. | |
| 87 | 94 | {{{#!if !(uuid_not_blank)&&!(UUID_not_blank) |
| 88 | 95 | ##필터링 및 출력 조건 : https://theseed.io/thread/AmuckWackyDamagingDime#89 |
| 89 | 96 | ##필터 1 : uuid 및 UUID 둘 다 공백인 경우 |
| ... | ... | |
| 93 | 100 | {{{#orangered 오류! :}}} "uuid"와 "UUID" 둘 중 하나만 입력해 주세요. (uuid= 또는 UUID= 입력)[br]}}}{{{#!if (uuid_not_blank^UUID_not_blank)&&!uuid_verified |
| 94 | 101 | ##필터 3 : uuid도 공백이 아니면서 UUID도 공백이 아닌 경우를 제외하고 (XOR) |
| 95 | 102 | ##처음 include할 때 입력한 uuid, UUID 둘 중 하나만 공백이 아닐 경우, 그 다음에 uuid=UUID로 정의한 다음 uuid가 유효하지 않은 경우. 오류 메세지 출력 |
| 96 | {{{#orangered 오류! :}}} 올바르지 않은 UUID입니다. 입력한 UUID를 확인해주세요.[br]}}}}}}{{{#!if (((arca | |
| 103 | {{{#orangered 오류! :}}} 올바르지 않은 UUID입니다. 입력한 UUID를 확인해주세요.[br]}}}}}}}}}{{{#!if (((!arca&&!previous)&&(uuid_not_blank^UUID_not_blank)&&uuid_verified)||(arca||previous))&&inspection | |
| 97 | 104 | ##uuid와 UUID 둘 다 공백이 아닌 경우를 제와하고, |
| 98 | 105 | ##가져옴 틀 출력 |
| 99 | 106 | {{{#!if wiki_name_defined||((((custom==true)&&wiki_license_defined)||(arca==true))&&wiki_defined&&wiki_domain_defined) |
| ... | ... |